From 79335aa1857f85fd0ce7557200361bcba7af8466 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Mon, 6 Dec 2021 21:48:40 +0100 Subject: 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(-) (limited to 'test/lisp/emacs-lisp/bytecomp-tests.el') 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") -- cgit v1.2.3