diff options
Diffstat (limited to 'rust-mode-tests.el')
| -rw-r--r-- | rust-mode-tests.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rust-mode-tests.el b/rust-mode-tests.el index 890ec77..bdc18f3 100644 --- a/rust-mode-tests.el +++ b/rust-mode-tests.el @@ -968,6 +968,11 @@ list of substrings of `STR' each followed by its face." "r##\"I've got an octothorpe (#)\"##; foo()" '("r##\"I've got an octothorpe (#)\"##" font-lock-string-face))) +(ert-deftest font-lock-raw-string-with-inner-quote-and-hash () + (rust-test-font-lock + "not_the_string(); r##\"string \"# still same string\"##; not_the_string()" + '("r##\"string \"# still same string\"##" font-lock-string-face))) + (ert-deftest font-lock-string-ending-with-r-not-raw-string () (rust-test-font-lock "fn f() { |
