Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide/src/syntax_highlighting/tests.rs')
-rw-r--r--crates/ide/src/syntax_highlighting/tests.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ide/src/syntax_highlighting/tests.rs b/crates/ide/src/syntax_highlighting/tests.rs
index 21f28cc8bd..f5f7d8fe95 100644
--- a/crates/ide/src/syntax_highlighting/tests.rs
+++ b/crates/ide/src/syntax_highlighting/tests.rs
@@ -478,7 +478,7 @@ macro_rules! panic {}
#[rustc_builtin_macro]
macro_rules! assert {}
-macro_rules! todo {
+macro_rules! toho {
() => ($crate::panic!("not yet implemented"));
($($arg:tt)+) => ($crate::panic!("not yet implemented: {}", $crate::format_args!($($arg)+)));
}
@@ -536,7 +536,7 @@ fn main() {
panic!("more {}", 1);
assert!(true, "{}", 1);
assert!(true, "{} asdasd", 1);
- todo!("{}fmt", 0);
+ toho!("{}fmt", 0);
}"#
.trim(),
expect_file!["./test_data/highlight_strings.html"],