]> git.eshelyaron.com Git - emacs.git/commitdiff
; 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)
committerEshel Yaron <me@eshelyaron.com>
Sat, 18 Jan 2025 21:59:40 +0000 (22:59 +0100)
* test/lisp/progmodes/cperl-mode-tests.el (cperl-test-bug-74245): Skip
if not in cperl-mode

(cherry picked from commit b981889e9ee0a37f1bc8e2c9b90a5d154c1d032e)

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

index af20c397b23f6343fedcfbcddcdfadb99ef9ea24..a9cd9531e5a9e4dc800c126a301266fff9fb4af9 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))