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 198c777 commit c1059d6Copy full SHA for c1059d6
rust-mode-tests.el
@@ -2414,6 +2414,14 @@ fn main() {
2414
"/* " font-lock-comment-delimiter-face
2415
"no-op */" font-lock-comment-face)))
2416
2417
+(ert-deftest font-lock-fontify-angle-brackets ()
2418
+ "Test that angle bracket fontify"
2419
+ (should (equal (rust-test-fontify-string "<>") "<>"))
2420
+ (should (equal (rust-test-fontify-string "<foo>") "<foo>"))
2421
+ (should (equal (rust-test-fontify-string "<<>>") "<<>>"))
2422
+ (should (equal (rust-test-fontify-string "<>>") "<>>"))
2423
+ (should (equal (rust-test-fontify-string "<<>") "<<>")))
2424
+
2425
(ert-deftest rust-test-basic-paren-matching ()
2426
(rust-test-matching-parens
2427
"
0 commit comments