diff options
| author | Philipp Stephani | 2018-01-07 16:47:17 +0100 |
|---|---|---|
| committer | Philipp Stephani | 2018-01-07 16:47:17 +0100 |
| commit | f352ea6efd4554cee95568cee72a3dfa00de2abe (patch) | |
| tree | d04e827d8ec44720bf0292619b208b5a10830a18 | |
| parent | 73526123f2293f1b83fe51d6e30676f84c95c7b6 (diff) | |
| download | emacs-f352ea6efd4554cee95568cee72a3dfa00de2abe.tar.gz emacs-f352ea6efd4554cee95568cee72a3dfa00de2abe.zip | |
; Adapt a unit test to a recent change
* test/lisp/emacs-lisp/bytecomp-tests.el
(bytecomp-tests--old-style-backquotes): Fix expected error message.
| -rw-r--r-- | test/lisp/emacs-lisp/bytecomp-tests.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/lisp/emacs-lisp/bytecomp-tests.el b/test/lisp/emacs-lisp/bytecomp-tests.el index 20ac948c35b..6ae7cdb9f9c 100644 --- a/test/lisp/emacs-lisp/bytecomp-tests.el +++ b/test/lisp/emacs-lisp/bytecomp-tests.el | |||
| @@ -540,8 +540,7 @@ literals (Bug#20852)." | |||
| 540 | (let* ((byte-compile-dest-file-function (lambda (_) destination)) | 540 | (let* ((byte-compile-dest-file-function (lambda (_) destination)) |
| 541 | (byte-compile-debug t) | 541 | (byte-compile-debug t) |
| 542 | (err (should-error (byte-compile-file source)))) | 542 | (err (should-error (byte-compile-file source)))) |
| 543 | (should (equal (cdr err) | 543 | (should (equal (cdr err) '("Old-style backquotes detected!"))))))) |
| 544 | '("Loading `nil': old-style backquotes detected!"))))))) | ||
| 545 | 544 | ||
| 546 | 545 | ||
| 547 | (ert-deftest bytecomp-tests-function-put () | 546 | (ert-deftest bytecomp-tests-function-put () |