diff options
author | Po Lu <luangruo@yahoo.com> | 2021-12-07 09:32:13 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2021-12-07 09:32:13 +0800 |
commit | d9b3f665bc57bc78716f4c9d5efebf283f7e1964 (patch) | |
tree | 4795b7d972c36f84ae57632922a05de2e01fd856 /test/lisp/emacs-lisp/bytecomp-tests.el | |
parent | 0b6a632f99214e2d1e9e1d72b8f8b3a7f054d552 (diff) | |
parent | e17aea73a5b2ae5f7cbf9057d7dad286be81ffc0 (diff) | |
download | emacs-d9b3f665bc57bc78716f4c9d5efebf283f7e1964.tar.gz emacs-d9b3f665bc57bc78716f4c9d5efebf283f7e1964.tar.bz2 emacs-d9b3f665bc57bc78716f4c9d5efebf283f7e1964.zip |
Merge remote-tracking branch 'origin/master' into feature/pgtk
Diffstat (limited to 'test/lisp/emacs-lisp/bytecomp-tests.el')
-rw-r--r-- | test/lisp/emacs-lisp/bytecomp-tests.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/lisp/emacs-lisp/bytecomp-tests.el b/test/lisp/emacs-lisp/bytecomp-tests.el index b82afd353cf..7e51f820b70 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") @@ -980,7 +979,7 @@ byte-compiled. Run with dynamic binding." (bytecomp--define-warning-file-test "warn-wide-docstring-defun.el" - "wider than .* characters") + "Warning: docstring wider than .* characters") (bytecomp--define-warning-file-test "warn-wide-docstring-defvar.el" |