[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 79335aa 1/3: Assume unfilled byte-compiler warnings in tests
From: |
Stefan Kangas |
Subject: |
master 79335aa 1/3: Assume unfilled byte-compiler warnings in tests |
Date: |
Mon, 6 Dec 2021 16:30:49 -0500 (EST) |
branch: master
commit 79335aa1857f85fd0ce7557200361bcba7af8466
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>
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.
---
test/lisp/emacs-lisp/bytecomp-tests.el | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/test/lisp/emacs-lisp/bytecomp-tests.el
b/test/lisp/emacs-lisp/bytecomp-tests.el
index b82afd3..468b9b3 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")