]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove lread tests for a feature that was deleted
authorGlenn Morris <rgm@gnu.org>
Fri, 14 Feb 2020 19:10:55 +0000 (11:10 -0800)
committerGlenn Morris <rgm@gnu.org>
Fri, 14 Feb 2020 19:10:55 +0000 (11:10 -0800)
* test/src/lread-tests.el (lread-tests--old-style-backquotes)
(lread-tests--force-new-style-backquotes): Remove.

test/src/lread-tests.el

index 1426b0145e03d431aed271f5cb643fc2b39e08d2..6efd8bed302eac1d52817cfdd0ee257d2cb81ff9 100644 (file)
@@ -157,22 +157,6 @@ literals (Bug#20852)."
     (load "somelib" nil t)
     (should (string-suffix-p "/somelib.el" (caar load-history)))))
 
-(ert-deftest lread-tests--old-style-backquotes ()
-  "Check that loading doesn't accept old-style backquotes."
-  (lread-tests--with-temp-file file-name
-    (write-region "(` (a b))" nil file-name)
-    (let ((data (should-error (load file-name nil :nomessage :nosuffix))))
-      (should (equal (cdr data)
-                     (list (concat (format-message "Loading `%s': " file-name)
-                                   "old-style backquotes detected!")))))))
-
-(ert-deftest lread-tests--force-new-style-backquotes ()
-  (let ((data (should-error (read "(` (a b))"))))
-    (should (equal (cdr data) '("Old-style backquotes detected!"))))
-  (should (equal (let ((force-new-style-backquotes t))
-                   (read "(` (a b))"))
-                 '(`(a b)))))
-
 (ert-deftest lread-lread--substitute-object-in-subtree ()
   (let ((x (cons 0 1)))
     (setcar x x)