emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/coffee-mode 1f602d2ab2 2/4: Fix test for newer emacs


From: ELPA Syncer
Subject: [nongnu] elpa/coffee-mode 1f602d2ab2 2/4: Fix test for newer emacs
Date: Fri, 8 Sep 2023 07:00:08 -0400 (EDT)

branch: elpa/coffee-mode
commit 1f602d2ab271fcf3fb0835ab59f49df0255d367e
Author: Shohei YOSHIDA <syohex@gmail.com>
Commit: Shohei YOSHIDA <syohex@gmail.com>

    Fix test for newer emacs
---
 test/coffee-highlight.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/test/coffee-highlight.el b/test/coffee-highlight.el
index baecf447c9..26bafd0970 100644
--- a/test/coffee-highlight.el
+++ b/test/coffee-highlight.el
@@ -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<= "28" 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))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]