Skip to content

Commit

Permalink
Fix test for newer emacs
Browse files Browse the repository at this point in the history
  • Loading branch information
syohex committed Sep 8, 2023
1 parent 2e204cf commit b968ad5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/coffee-highlight.el
Original file line number Diff line number Diff line change
Expand Up @@ -1066,7 +1066,9 @@ testMethod = (id) ->
(should (face-at-cursor-p 'font-lock-constant-face))

(forward-cursor-on "#")
(should (face-at-cursor-p 'font-lock-comment-delimiter-face))
(if (version< "27" emacs-version)
(should (face-at-cursor-p 'font-lock-comment-delimiter-face))
(should (face-at-cursor-p 'font-lock-comment-face)))

(forward-cursor-on "Broken")
(should (face-at-cursor-p 'font-lock-comment-face))))
Expand Down

0 comments on commit b968ad5

Please sign in to comment.