From 455bed3c72ed7462d6c5122eb1117647a9e694cb Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Mon, 30 Aug 2021 10:47:16 -0400 Subject: [PATCH] * test/lisp/progmodes/cperl-mode-tests.el: Adjust here-doc tests for perl-mode (cperl-test-identify-heredoc, cperl-test-identify-no-heredoc): Tweak tests so they can also be used for perl-mode. --- test/lisp/progmodes/cperl-mode-tests.el | 57 +++++++++++-------------- 1 file changed, 26 insertions(+), 31 deletions(-) diff --git a/test/lisp/progmodes/cperl-mode-tests.el b/test/lisp/progmodes/cperl-mode-tests.el index 1d7565ae46b..9ab260cc7ca 100644 --- a/test/lisp/progmodes/cperl-mode-tests.el +++ b/test/lisp/progmodes/cperl-mode-tests.el @@ -158,66 +158,61 @@ point in the distant past, and is still broken in perl-mode. " "Test whether a construct containing \"<<\" followed by a bareword is properly identified for a here-document if appropriate." - (skip-unless (eq cperl-test-mode #'cperl-mode)) (let ((here-docs '("$text .= <>) { ...; }" ; double angle bracket operator + '("while (<<>>) {" ; double angle bracket operator "expr <