; cperl-mode-tests.el: Don't run the newest test in perl-mode
authorHarald Jörg <haj@posteo.de>
Tue, 14 Jan 2025 11:17:47 +0000 (12:17 +0100)
committerHarald Jörg <haj@posteo.de>
Tue, 14 Jan 2025 11:17:47 +0000 (12:17 +0100)
* test/lisp/progmodes/cperl-mode-tests.el (cperl-test-bug-74245): Skip
if not in cperl-mode

test/lisp/progmodes/cperl-mode-tests.el

index e54790256ab158a8e2c288594412e2fead02f5c8..dab4ad5ecf566e899bd47c6018f3543afed4187a 100644 (file)
@@ -1592,6 +1592,7 @@ and the slash, then we have a division."
 (ert-deftest cperl-test-bug-74245 ()
   "Verify that a bare \"$\" can appear at the end of a subroutine signature.
 It must not be mistaken for \"$)\"."
+  (skip-unless (eq cperl-test-mode #'cperl-mode))
   (cperl--run-test-cases
    (ert-resource-file "cperl-bug-74245.pl")
    (while (null (eobp))