diff options
| author | Glenn Morris | 2021-08-23 10:36:57 -0700 |
|---|---|---|
| committer | Glenn Morris | 2021-08-23 10:36:57 -0700 |
| commit | c1c2266a1c38b1f8dfd001f653ebec6fa79fb3c3 (patch) | |
| tree | 850237ca8e406c5b71e578c1a798ba6eba6a3ba8 | |
| parent | 00edc8329a6277f2e5b5204efbe503e2b7957006 (diff) | |
| download | emacs-c1c2266a1c38b1f8dfd001f653ebec6fa79fb3c3.tar.gz emacs-c1c2266a1c38b1f8dfd001f653ebec6fa79fb3c3.zip | |
Fix recently added cperl test
* test/lisp/progmodes/cperl-mode-tests.el
(cperl-test-here-doc-missing-end): Fix quote regexp.
| -rw-r--r-- | test/lisp/progmodes/cperl-mode-tests.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lisp/progmodes/cperl-mode-tests.el b/test/lisp/progmodes/cperl-mode-tests.el index bcef885a77c..1d7565ae46b 100644 --- a/test/lisp/progmodes/cperl-mode-tests.el +++ b/test/lisp/progmodes/cperl-mode-tests.el | |||
| @@ -231,7 +231,7 @@ issued by CPerl mode." | |||
| 231 | (goto-char (point-min)) | 231 | (goto-char (point-min)) |
| 232 | (funcall cperl-test-mode) | 232 | (funcall cperl-test-mode) |
| 233 | (cperl-find-pods-heres) | 233 | (cperl-find-pods-heres) |
| 234 | (should (string-match "End of here-document [‘']HERE[’']" | 234 | (should (string-match "End of here-document [‘'`]HERE[’']" |
| 235 | collected-messages)))) | 235 | collected-messages)))) |
| 236 | (ert-with-message-capture collected-messages | 236 | (ert-with-message-capture collected-messages |
| 237 | (with-temp-buffer | 237 | (with-temp-buffer |
| @@ -242,7 +242,7 @@ issued by CPerl mode." | |||
| 242 | (goto-char (point-min)) | 242 | (goto-char (point-min)) |
| 243 | (funcall cperl-test-mode) | 243 | (funcall cperl-test-mode) |
| 244 | (cperl-find-pods-heres) | 244 | (cperl-find-pods-heres) |
| 245 | (should (string-match "End of here-document [‘']THERE[’']" | 245 | (should (string-match "End of here-document [‘'`]THERE[’']" |
| 246 | collected-messages))))) | 246 | collected-messages))))) |
| 247 | 247 | ||
| 248 | (defvar perl-continued-statement-offset) | 248 | (defvar perl-continued-statement-offset) |