diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2021-02-19 13:44:25 +0100 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2021-02-19 13:44:25 +0100 |
commit | d4f6927d48043d01929a93da53a64b1e4296f994 (patch) | |
tree | 535b1be09cf9cba2d1e29ecfcb77030ff022a3f1 /test/lisp/textmodes/dns-mode-tests.el | |
parent | ea2f5f3fdac0b360833586ac855248094baf328c (diff) | |
download | emacs-d4f6927d48043d01929a93da53a64b1e4296f994.tar.gz |
Fix regexp mistakes
* lisp/progmodes/cperl-mode.el (cperl--package-regexp):
Avoid double repetition; cperl--ws-or-comment-regexp is already
repeated with 1+.
* test/lisp/textmodes/dns-mode-tests.el
(dns-mode-tests-dns-mode-soa-increment-serial): Escape literal '$'.
* test/lisp/emacs-lisp/rx-tests.el (rx-regexp): Modify test to not
trigger a linting warning while retaining its testing power.
Diffstat (limited to 'test/lisp/textmodes/dns-mode-tests.el')
-rw-r--r-- | test/lisp/textmodes/dns-mode-tests.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lisp/textmodes/dns-mode-tests.el b/test/lisp/textmodes/dns-mode-tests.el index 92b6cc9177c..8bc48732c62 100644 --- a/test/lisp/textmodes/dns-mode-tests.el +++ b/test/lisp/textmodes/dns-mode-tests.el @@ -37,7 +37,7 @@ (dns-mode-soa-increment-serial) ;; Number is updated from 2015080302 to the current date ;; (actually, just ensure the year part is later than 2020). - (should (string-match "$TTL 86400 + (should (string-match "\\$TTL 86400 @ IN SOA ns.icann.org. noc.dns.icann.org. ( 20[2-9][0-9]+ ;Serial 7200 ;Refresh |