We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c9ea88 commit 2e7c6dcCopy full SHA for 2e7c6dc
rust-mode-tests.el
@@ -968,6 +968,11 @@ list of substrings of `STR' each followed by its face."
968
"r##\"I've got an octothorpe (#)\"##; foo()"
969
'("r##\"I've got an octothorpe (#)\"##" font-lock-string-face)))
970
971
+(ert-deftest font-lock-raw-string-with-inner-quote-and-hash ()
972
+ (rust-test-font-lock
973
+ "not_the_string(); r##\"string \"# still same string\"##; not_the_string()"
974
+ '("r##\"string \"# still same string\"##" font-lock-string-face)))
975
+
976
(ert-deftest font-lock-string-ending-with-r-not-raw-string ()
977
(rust-test-font-lock
978
"fn f() {
0 commit comments