diff options
| author | Harald Jörg | 2020-11-02 23:44:58 +0100 |
|---|---|---|
| committer | Stefan Kangas | 2020-11-03 00:11:12 +0100 |
| commit | 2800513af5f5bc0f16879ce6ab250f0f63f7bb6e (patch) | |
| tree | e853ef99c26c2ee55f69e3d4eac765bab1784651 | |
| parent | 6ad628b8657d840de1c9ac07e653d945e2a88889 (diff) | |
| download | emacs-2800513af5f5bc0f16879ce6ab250f0f63f7bb6e.tar.gz emacs-2800513af5f5bc0f16879ce6ab250f0f63f7bb6e.zip | |
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.
| -rw-r--r-- | test/lisp/progmodes/cperl-mode-tests.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/lisp/progmodes/cperl-mode-tests.el b/test/lisp/progmodes/cperl-mode-tests.el index 9a7b5e4d6dd..dcde3b68a03 100644 --- a/test/lisp/progmodes/cperl-mode-tests.el +++ b/test/lisp/progmodes/cperl-mode-tests.el | |||
| @@ -224,6 +224,10 @@ point in the distant past, and is still broken in perl-mode. " | |||
| 224 | "Verify that closing a paren in a regex goes without a message. | 224 | "Verify that closing a paren in a regex goes without a message. |
| 225 | Also check that the message is issued if the regex terminator is | 225 | Also check that the message is issued if the regex terminator is |
| 226 | missing." | 226 | missing." |
| 227 | ;; The actual fix for this bug is in simple.el, which is not | ||
| 228 | ;; backported to older versions of Emacs. Therefore we skip this | ||
| 229 | ;; test if we're running Emacs 27 or older. | ||
| 230 | (skip-unless (< 27 emacs-major-version)) | ||
| 227 | ;; Part one: Regex is ok, no messages | 231 | ;; Part one: Regex is ok, no messages |
| 228 | (ert-with-message-capture collected-messages | 232 | (ert-with-message-capture collected-messages |
| 229 | (with-temp-buffer | 233 | (with-temp-buffer |