1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-01 08:17:38 +00:00

cperl-mode: Skip a test for older Emacsen (preparing for ELPA)

* test/lisp/progmodes/cperl-mode-tests.el (cperl-bug37127):
Skip this test for older Emacsen.  The bug has been fixed
in Emacs, but outside of CPerl mode, and therefore will not
be available for older versions via ELPA.
This commit is contained in:
Harald Jörg 2020-11-02 23:44:58 +01:00 committed by Stefan Kangas
parent 6ad628b865
commit 2800513af5

View File

@ -224,6 +224,10 @@ point in the distant past, and is still broken in perl-mode. "
"Verify that closing a paren in a regex goes without a message.
Also check that the message is issued if the regex terminator is
missing."
;; The actual fix for this bug is in simple.el, which is not
;; backported to older versions of Emacs. Therefore we skip this
;; test if we're running Emacs 27 or older.
(skip-unless (< 27 emacs-major-version))
;; Part one: Regex is ok, no messages
(ert-with-message-capture collected-messages
(with-temp-buffer