aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/lisp/emacs-lisp/bytecomp-tests.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/lisp/emacs-lisp/bytecomp-tests.el b/test/lisp/emacs-lisp/bytecomp-tests.el
index 289bd18a961..0c151e39169 100644
--- a/test/lisp/emacs-lisp/bytecomp-tests.el
+++ b/test/lisp/emacs-lisp/bytecomp-tests.el
@@ -691,13 +691,14 @@ literals (Bug#20852)."
691 (byte-compile-log-buffer (generate-new-buffer " *Compile-Log*"))) 691 (byte-compile-log-buffer (generate-new-buffer " *Compile-Log*")))
692 ;; Check that we get a warning without suppression. 692 ;; Check that we get a warning without suppression.
693 (with-current-buffer byte-compile-log-buffer 693 (with-current-buffer byte-compile-log-buffer
694 (setq-local fill-column 9999)
695 (setq-local warning-fill-column fill-column)
694 (let ((inhibit-read-only t)) 696 (let ((inhibit-read-only t))
695 (erase-buffer))) 697 (erase-buffer)))
696 (test-byte-comp-compile-and-load t form) 698 (test-byte-comp-compile-and-load t form)
697 (with-current-buffer byte-compile-log-buffer 699 (with-current-buffer byte-compile-log-buffer
698 (unless match 700 (unless match
699 (error "%s" (buffer-string))) 701 (error "%s" (buffer-string)))
700 (setq match (replace-regexp-in-string " " "[ \n]+" match nil t))
701 (goto-char (point-min)) 702 (goto-char (point-min))
702 (should (string-match match (buffer-string)))) 703 (should (string-match match (buffer-string))))
703 ;; And that it's gone now. 704 ;; And that it's gone now.