Commit 4c3e78a9 authored by Glenn Morris's avatar Glenn Morris

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.
parent 4752de83
Pipeline #2025 failed with stage
in 58 minutes and 23 seconds
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment