aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/lisp/emacs-lisp/bytecomp-tests.el11
1 files changed, 0 insertions, 11 deletions
diff --git a/test/lisp/emacs-lisp/bytecomp-tests.el b/test/lisp/emacs-lisp/bytecomp-tests.el
index a16adfedfb8..de11ae22d50 100644
--- a/test/lisp/emacs-lisp/bytecomp-tests.el
+++ b/test/lisp/emacs-lisp/bytecomp-tests.el
@@ -615,17 +615,6 @@ literals (Bug#20852)."
615 (let ((byte-compile-dest-file-function (lambda (_) destination))) 615 (let ((byte-compile-dest-file-function (lambda (_) destination)))
616 (should (byte-compile-file source))))))) 616 (should (byte-compile-file source)))))))
617 617
618(ert-deftest bytecomp-tests--old-style-backquotes ()
619 "Check that byte compiling warns about old-style backquotes."
620 (bytecomp-tests--with-temp-file source
621 (write-region "(` (a b))" nil source)
622 (bytecomp-tests--with-temp-file destination
623 (let* ((byte-compile-dest-file-function (lambda (_) destination))
624 (byte-compile-debug t)
625 (err (should-error (byte-compile-file source))))
626 (should (equal (cdr err) '("Old-style backquotes detected!")))))))
627
628
629(ert-deftest bytecomp-tests-function-put () 618(ert-deftest bytecomp-tests-function-put ()
630 "Check `function-put' operates during compilation." 619 "Check `function-put' operates during compilation."
631 (bytecomp-tests--with-temp-file source 620 (bytecomp-tests--with-temp-file source