format string highlighting: handle hex + debug type specifier

This commit is contained in:
Roland Ruckerbauer 2020-11-15 17:43:14 +01:00
parent e8c803937c
commit a15dda48c6
3 changed files with 26 additions and 0 deletions

View file

@ -340,6 +340,8 @@ fn main() {
println!("{\x41}", A = 92);
println!("{ничоси}", ничоси = 92);
println!("{:x?} {} ", thingy, n2);
}"#
.trim(),
expect_file!["./test_data/highlight_strings.html"],