aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGlenn Morris2019-06-12 19:31:00 -0700
committerGlenn Morris2019-06-12 19:31:00 -0700
commit4c3e78a9f4240bff6cf2bbc1f181dd167b712144 (patch)
tree3bfaf0a857c381e3954e276788fc5568229114f6 /test
parent4752de83493df806b8cce0ff430f62fdcda46db2 (diff)
downloademacs-4c3e78a9f4240bff6cf2bbc1f181dd167b712144.tar.gz
emacs-4c3e78a9f4240bff6cf2bbc1f181dd167b712144.zip
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.
Diffstat (limited to 'test')
-rw-r--r--test/lisp/emacs-lisp/bytecomp-tests.el1
1 files changed, 1 insertions, 0 deletions
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)."
697 (with-current-buffer byte-compile-log-buffer 697 (with-current-buffer byte-compile-log-buffer
698 (unless match 698 (unless match
699 (error "%s" (buffer-string))) 699 (error "%s" (buffer-string)))
700 (setq match (replace-regexp-in-string " " "[ \n]+" match nil t))
700 (goto-char (point-min)) 701 (goto-char (point-min))
701 (should (string-match match (buffer-string)))) 702 (should (string-match match (buffer-string))))
702 ;; And that it's gone now. 703 ;; And that it's gone now.