diff options
author | Andrea Corallo <akrl@sdf.org> | 2020-10-10 11:00:35 +0200 |
---|---|---|
committer | Andrea Corallo <akrl@sdf.org> | 2020-10-10 11:00:35 +0200 |
commit | f7e7ff4fb16bf8fc8e7662f21cd9843e9eb648e8 (patch) | |
tree | 8757f25ff7948b6b045bd60f5adf6ebf91ed75ee /test/lisp/emacs-lisp/rx-tests.el | |
parent | 138990bbda7ab228e3fde44710426c474b2c1086 (diff) | |
parent | 5824c209ba17b97978519ea62478c57010311e88 (diff) | |
download | emacs-f7e7ff4fb16bf8fc8e7662f21cd9843e9eb648e8.tar.gz emacs-f7e7ff4fb16bf8fc8e7662f21cd9843e9eb648e8.tar.bz2 emacs-f7e7ff4fb16bf8fc8e7662f21cd9843e9eb648e8.zip |
Merge remote-tracking branch 'savannah/master' into HEAD
Diffstat (limited to 'test/lisp/emacs-lisp/rx-tests.el')
-rw-r--r-- | test/lisp/emacs-lisp/rx-tests.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/lisp/emacs-lisp/rx-tests.el b/test/lisp/emacs-lisp/rx-tests.el index 3b01d89dbab..59d8c600a20 100644 --- a/test/lisp/emacs-lisp/rx-tests.el +++ b/test/lisp/emacs-lisp/rx-tests.el @@ -539,6 +539,9 @@ (ert-deftest rx-compat () "Test old symbol retained for compatibility (bug#37517)." - (should (equal (rx-submatch-n '(group-n 3 (+ nonl) eol)) "\\(?3:.+$\\)"))) + (should (equal + (with-suppressed-warnings ((obsolete rx-submatch-n)) + (rx-submatch-n '(group-n 3 (+ nonl) eol))) + "\\(?3:.+$\\)"))) (provide 'rx-tests) |