[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 61113a3: Suppress obsoletion warning in test of obsolete rx funct
From: |
Mattias Engdegård |
Subject: |
master 61113a3: Suppress obsoletion warning in test of obsolete rx function |
Date: |
Tue, 6 Oct 2020 08:24:39 -0400 (EDT) |
branch: master
commit 61113a325466e705e66c18164fac884fdb172593
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>
Suppress obsoletion warning in test of obsolete rx function
* test/lisp/emacs-lisp/rx-tests.el (rx-compat): Add byte-compilation
warning suppression.
---
test/lisp/emacs-lisp/rx-tests.el | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/test/lisp/emacs-lisp/rx-tests.el b/test/lisp/emacs-lisp/rx-tests.el
index 3b01d89..59d8c60 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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 61113a3: Suppress obsoletion warning in test of obsolete rx function,
Mattias Engdegård <=