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.rs | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/crates/ide/src/syntax_highlighting/tests.rs b/crates/ide/src/syntax_highlighting/tests.rs index f9c2404c35..a8c69875e0 100644 --- a/crates/ide/src/syntax_highlighting/tests.rs +++ b/crates/ide/src/syntax_highlighting/tests.rs @@ -459,6 +459,9 @@ fn main() { println!("Hello\nWorld"); println!("\u{48}\x65\x6C\x6C\x6F World"); + let _ = "\x28\x28\x00\x63\n"; + let _ = b"\x28\x28\x00\x63\n"; + println!("{\x41}", A = 92); println!("{ничоси}", ничоси = 92); @@ -477,20 +480,6 @@ fn main() { } #[test] -fn test_byte_string_highlight() { - check_highlighting( - r#" -fn main() { - let _ = "\x28\x28\x00\x63\n"; - let _ = b"\x28\x28\x00\x63\n"; -} -"#, - expect_file!["./test_data/highlight_byte_string.html"], - false, - ); -} - -#[test] fn test_unsafe_highlighting() { check_highlighting( r#" |