diff options
author | Stefan Kangas <stefan@marxist.se> | 2021-12-06 21:48:40 +0100 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 2021-12-06 22:19:40 +0100 |
commit | 79335aa1857f85fd0ce7557200361bcba7af8466 (patch) | |
tree | 770bd9fe18180a4d5fc57556453eabd7b7e8f8fb /test/lisp/emacs-lisp | |
parent | 5a9965f0c720698a44262160983ea089ce67f0d5 (diff) | |
download | emacs-79335aa1857f85fd0ce7557200361bcba7af8466.tar.gz emacs-79335aa1857f85fd0ce7557200361bcba7af8466.tar.bz2 emacs-79335aa1857f85fd0ce7557200361bcba7af8466.zip |
Assume unfilled byte-compiler warnings in tests
* test/lisp/emacs-lisp/bytecomp-tests.el
(bytecomp--define-warning-file-test): Remove workaround for filled
byte-compilation warnings. See Bug#52281.
Diffstat (limited to 'test/lisp/emacs-lisp')
-rw-r--r-- | test/lisp/emacs-lisp/bytecomp-tests.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/lisp/emacs-lisp/bytecomp-tests.el b/test/lisp/emacs-lisp/bytecomp-tests.el index b82afd353cf..468b9b32f74 100644 --- a/test/lisp/emacs-lisp/bytecomp-tests.el +++ b/test/lisp/emacs-lisp/bytecomp-tests.el @@ -851,8 +851,7 @@ byte-compiled. Run with dynamic binding." (byte-compile-file ,(ert-resource-file file)) (ert-info ((buffer-string) :prefix "buffer: ") (,(if reverse 'should-not 'should) - (re-search-forward ,(string-replace " " "[ \n]+" re-warning) - nil t)))))) + (re-search-forward ,re-warning nil t)))))) (bytecomp--define-warning-file-test "error-lexical-var-with-add-hook.el" "add-hook.*lexical var") |