diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-11-16 11:07:29 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-11-16 11:07:29 +0000 |
commit | e17d6048886c3ff0ba5e065c2fec5eff145b0fdc (patch) | |
tree | f6eff656f26401cc509bc2af51e175ae229c72d8 /crates/ide/src/syntax_highlighting/tests.rs | |
parent | 382361c252f6d9e1c9e3fad3bdc4ebe32c5d4b7b (diff) | |
parent | a15dda48c696cb14d490ee91f40949d5cd538aba (diff) |
Merge #6558
6558: format string highlighting: handle hex + debug type specifier r=matklad a=ruabmbua
Should fix https://github.com/rust-analyzer/rust-analyzer/issues/6427
Co-authored-by: Roland Ruckerbauer <[email protected]>
Diffstat (limited to 'crates/ide/src/syntax_highlighting/tests.rs')
-rw-r--r-- | crates/ide/src/syntax_highlighting/tests.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/ide/src/syntax_highlighting/tests.rs b/crates/ide/src/syntax_highlighting/tests.rs index 5c22e2fce..1dc018a16 100644 --- a/crates/ide/src/syntax_highlighting/tests.rs +++ b/crates/ide/src/syntax_highlighting/tests.rs | |||
@@ -340,6 +340,8 @@ fn main() { | |||
340 | 340 | ||
341 | println!("{\x41}", A = 92); | 341 | println!("{\x41}", A = 92); |
342 | println!("{ничоси}", ничоси = 92); | 342 | println!("{ничоси}", ничоси = 92); |
343 | |||
344 | println!("{:x?} {} ", thingy, n2); | ||
343 | }"# | 345 | }"# |
344 | .trim(), | 346 | .trim(), |
345 | expect_file!["./test_data/highlight_strings.html"], | 347 | expect_file!["./test_data/highlight_strings.html"], |