diff options
| -rw-r--r-- | rust-mode-tests.el | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/rust-mode-tests.el b/rust-mode-tests.el index ac81d03..9d4e6b6 100644 --- a/rust-mode-tests.el +++ b/rust-mode-tests.el @@ -2426,7 +2426,15 @@ fn main() { "{1}" rust-string-interpolation-face "\"" font-lock-string-face "/* " font-lock-comment-delimiter-face - "no-op */" font-lock-comment-face))) + "no-op */" font-lock-comment-face)) + (rust-test-font-lock + "println!(\"123\"); eprintln!(\"123\"); cprintln!(\"123\");" + '("println!" rust-builtin-formatting-macro-face + "\"123\"" font-lock-string-face + "eprintln!" rust-builtin-formatting-macro-face + "\"123\"" font-lock-string-face + "cprintln!" font-lock-preprocessor-face + "\"123\"" font-lock-string-face))) (ert-deftest font-lock-fontify-angle-brackets () "Test that angle bracket fontify" |
