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.
This commit is contained in:
parent
5a9965f0c7
commit
79335aa185
1 changed files with 1 additions and 2 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue