emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 4c3e78a: Allow for line breaks in a bytecomp test


From: Glenn Morris
Subject: [Emacs-diffs] master 4c3e78a: Allow for line breaks in a bytecomp test
Date: Wed, 12 Jun 2019 22:32:06 -0400 (EDT)

branch: master
commit 4c3e78a9f4240bff6cf2bbc1f181dd167b712144
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>

    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.
---
 test/lisp/emacs-lisp/bytecomp-tests.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/lisp/emacs-lisp/bytecomp-tests.el 
b/test/lisp/emacs-lisp/bytecomp-tests.el
index 86cf2ed..289bd18 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]