diff options
| -rw-r--r-- | test/lisp/emacs-lisp/bytecomp-tests.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lisp/emacs-lisp/bytecomp-tests.el b/test/lisp/emacs-lisp/bytecomp-tests.el index 6fe7f5b571d..86cf2edec8b 100644 --- a/test/lisp/emacs-lisp/bytecomp-tests.el +++ b/test/lisp/emacs-lisp/bytecomp-tests.el | |||
| @@ -698,7 +698,7 @@ literals (Bug#20852)." | |||
| 698 | (unless match | 698 | (unless match |
| 699 | (error "%s" (buffer-string))) | 699 | (error "%s" (buffer-string))) |
| 700 | (goto-char (point-min)) | 700 | (goto-char (point-min)) |
| 701 | (should (re-search-forward match nil t))) | 701 | (should (string-match match (buffer-string)))) |
| 702 | ;; And that it's gone now. | 702 | ;; And that it's gone now. |
| 703 | (with-current-buffer byte-compile-log-buffer | 703 | (with-current-buffer byte-compile-log-buffer |
| 704 | (let ((inhibit-read-only t)) | 704 | (let ((inhibit-read-only t)) |
| @@ -708,7 +708,7 @@ literals (Bug#20852)." | |||
| 708 | ,form)) | 708 | ,form)) |
| 709 | (with-current-buffer byte-compile-log-buffer | 709 | (with-current-buffer byte-compile-log-buffer |
| 710 | (goto-char (point-min)) | 710 | (goto-char (point-min)) |
| 711 | (should-not (re-search-forward match nil t))) | 711 | (should-not (string-match match (buffer-string)))) |
| 712 | ;; Also check that byte compiled forms are identical. | 712 | ;; Also check that byte compiled forms are identical. |
| 713 | (should (equal (byte-compile form) | 713 | (should (equal (byte-compile form) |
| 714 | (byte-compile | 714 | (byte-compile |