diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2020-11-09 18:05:08 +0100 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2020-11-09 18:05:08 +0100 |
commit | d8a31b0c03f93976027722324b173e880b402f34 (patch) | |
tree | 7d07f51f684d5b4244f5b7ff493aa9c778d2d439 /test/lisp/emacs-lisp | |
parent | 575b0681d926463960fc00d1e33decaa71d5c956 (diff) | |
download | emacs-d8a31b0c03f93976027722324b173e880b402f34.tar.gz emacs-d8a31b0c03f93976027722324b173e880b402f34.tar.bz2 emacs-d8a31b0c03f93976027722324b173e880b402f34.zip |
Better warning suppression in rx-tests
* test/lisp/emacs-lisp/rx-tests.el (rx-compat): Use with-no-warnings
instead of with-suppressed-warnings which complains when running
the test interactively.
Diffstat (limited to 'test/lisp/emacs-lisp')
-rw-r--r-- | test/lisp/emacs-lisp/rx-tests.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lisp/emacs-lisp/rx-tests.el b/test/lisp/emacs-lisp/rx-tests.el index 91b0884d4a9..d2e11cf06aa 100644 --- a/test/lisp/emacs-lisp/rx-tests.el +++ b/test/lisp/emacs-lisp/rx-tests.el @@ -544,7 +544,7 @@ (ert-deftest rx-compat () "Test old symbol retained for compatibility (bug#37517)." (should (equal - (with-suppressed-warnings ((obsolete rx-submatch-n)) + (with-no-warnings (rx-submatch-n '(group-n 3 (+ nonl) eol))) "\\(?3:.+$\\)"))) |