aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias EngdegÄrd2023-09-10 15:15:12 +0200
committerMattias EngdegÄrd2023-09-10 15:15:12 +0200
commitb6032f0fe42db75fb0e36ff0c64fdb79d89238ef (patch)
tree88eaa9abf56cc01021df4d42c4b3343d1f4283f7
parent90b8762ac84b75e0365aead585752a0a8f682b05 (diff)
downloademacs-b6032f0fe42db75fb0e36ff0c64fdb79d89238ef.tar.gz
emacs-b6032f0fe42db75fb0e36ff0c64fdb79d89238ef.zip
; Suppress relint complaint in test
* test/src/regex-emacs-tests.el (regex-tests-mutual-exclusive-inf-rec): This isn't supposed to be a good regexp.
-rw-r--r--test/src/regex-emacs-tests.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/src/regex-emacs-tests.el b/test/src/regex-emacs-tests.el
index 60c19f1ab2d..ed0dc4c5a9d 100644
--- a/test/src/regex-emacs-tests.el
+++ b/test/src/regex-emacs-tests.el
@@ -968,6 +968,7 @@ This evaluates the TESTS test cases from glibc."
968 968
969(ert-deftest regex-tests-mutual-exclusive-inf-rec () 969(ert-deftest regex-tests-mutual-exclusive-inf-rec ()
970 ;; Regression test for bug#65726, where this crashed Emacs. 970 ;; Regression test for bug#65726, where this crashed Emacs.
971 ;; relint suppression: Repetition of expression matching an empty string
971 (should (equal (string-match "a*\\(?:c\\|b*\\)*" "a") 0))) 972 (should (equal (string-match "a*\\(?:c\\|b*\\)*" "a") 0)))
972 973
973;;; regex-emacs-tests.el ends here 974;;; regex-emacs-tests.el ends here