From: Glenn Morris Date: Thu, 13 Jun 2019 02:31:00 +0000 (-0700) Subject: Allow for line breaks in a bytecomp test X-Git-Tag: emacs-27.0.90~2577 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4c3e78a9f4240bff6cf2bbc1f181dd167b712144;p=emacs.git Allow for line breaks in a bytecomp test * test/lisp/emacs-lisp/bytecomp-tests.el (test-suppression): Warnings from the byte compiler may be filled. --- diff --git a/test/lisp/emacs-lisp/bytecomp-tests.el b/test/lisp/emacs-lisp/bytecomp-tests.el index 86cf2edec8b..289bd18a961 100644 --- a/test/lisp/emacs-lisp/bytecomp-tests.el +++ b/test/lisp/emacs-lisp/bytecomp-tests.el @@ -697,6 +697,7 @@ literals (Bug#20852)." (with-current-buffer byte-compile-log-buffer (unless match (error "%s" (buffer-string))) + (setq match (replace-regexp-in-string " " "[ \n]+" match nil t)) (goto-char (point-min)) (should (string-match match (buffer-string)))) ;; And that it's gone now.