]> git.eshelyaron.com Git - emacs.git/commitdiff
; Suppress relint complaint in test
authorMattias Engdegård <mattiase@acm.org>
Sun, 10 Sep 2023 13:15:12 +0000 (15:15 +0200)
committerMattias Engdegård <mattiase@acm.org>
Sun, 10 Sep 2023 13:15:12 +0000 (15:15 +0200)
* test/src/regex-emacs-tests.el
(regex-tests-mutual-exclusive-inf-rec): This isn't supposed to be a
good regexp.

test/src/regex-emacs-tests.el

index 60c19f1ab2d981d57049bd956a53663e6b34273d..ed0dc4c5a9d27e4cb49490596e02b86a1d8d041c 100644 (file)
@@ -968,6 +968,7 @@ This evaluates the TESTS test cases from glibc."
 
 (ert-deftest regex-tests-mutual-exclusive-inf-rec ()
   ;; Regression test for bug#65726, where this crashed Emacs.
+  ;; relint suppression: Repetition of expression matching an empty string
   (should (equal (string-match "a*\\(?:c\\|b*\\)*" "a") 0)))
 
 ;;; regex-emacs-tests.el ends here