]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix recently added cperl test
authorGlenn Morris <rgm@gnu.org>
Mon, 23 Aug 2021 17:36:57 +0000 (10:36 -0700)
committerGlenn Morris <rgm@gnu.org>
Mon, 23 Aug 2021 17:36:57 +0000 (10:36 -0700)
* test/lisp/progmodes/cperl-mode-tests.el
(cperl-test-here-doc-missing-end): Fix quote regexp.

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

index bcef885a77c893ffdbfeb5fff7b4f2fb52518762..1d7565ae46b230718bd321006e50a5f77350d7c7 100644 (file)
@@ -231,7 +231,7 @@ issued by CPerl mode."
       (goto-char (point-min))
       (funcall cperl-test-mode)
       (cperl-find-pods-heres)
-      (should (string-match "End of here-document [‘']HERE[’']"
+      (should (string-match "End of here-document [‘'`]HERE[’']"
                             collected-messages))))
   (ert-with-message-capture collected-messages
     (with-temp-buffer
@@ -242,7 +242,7 @@ issued by CPerl mode."
       (goto-char (point-min))
       (funcall cperl-test-mode)
       (cperl-find-pods-heres)
-      (should (string-match "End of here-document [‘']THERE[’']"
+      (should (string-match "End of here-document [‘'`]THERE[’']"
                             collected-messages)))))
 
 (defvar perl-continued-statement-offset)