aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGlenn Morris2020-02-15 09:11:34 -0800
committerGlenn Morris2020-02-15 09:11:34 -0800
commitccb15ada750ed1a2ed67bc58458022b9d96a9d44 (patch)
tree568625dd733c2cd8c107bac37658ac8882b50948 /test
parentb519d515bac8bd8c1265fe3965a51be249581817 (diff)
downloademacs-ccb15ada750ed1a2ed67bc58458022b9d96a9d44.tar.gz
emacs-ccb15ada750ed1a2ed67bc58458022b9d96a9d44.zip
Remove another test for deleted lread feature
* test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp-tests--old-style-backquotes): Remove.
Diffstat (limited to 'test')
-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