summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/cl-macs-tests.el
diff options
context:
space:
mode:
authorPhilipp Stephani <phst@google.com>2018-01-07 14:14:38 +0100
committerPhilipp Stephani <phst@google.com>2018-01-07 14:14:38 +0100
commit610dad1102cba5fa6111050d30c734b51bcdb77d (patch)
treee017da7f090e2125d21dbc4d5600a444765f5277 /test/lisp/emacs-lisp/cl-macs-tests.el
parent6735df4443fe0aa60862a95c38746edf2b053862 (diff)
downloademacs-610dad1102cba5fa6111050d30c734b51bcdb77d.tar.gz
Revert "Prevent name clashes between CL structures and builtin types"
This reverts commit 151496a4b96430924bc148f85b9c8471d1e132b1. That commit breaks bootstrap builds due to a cyclic dependency.
Diffstat (limited to 'test/lisp/emacs-lisp/cl-macs-tests.el')
-rw-r--r--test/lisp/emacs-lisp/cl-macs-tests.el9
1 files changed, 0 insertions, 9 deletions
diff --git a/test/lisp/emacs-lisp/cl-macs-tests.el b/test/lisp/emacs-lisp/cl-macs-tests.el
index 9236ac73b50..f0bde7af397 100644
--- a/test/lisp/emacs-lisp/cl-macs-tests.el
+++ b/test/lisp/emacs-lisp/cl-macs-tests.el
@@ -497,13 +497,4 @@ collection clause."
vconcat (vector (1+ x)))
[2 3 4 5 6])))
-
-(ert-deftest cl-defstruct/builtin-type ()
- (should-error
- (macroexpand '(cl-defstruct hash-table))
- :type 'wrong-type-argument)
- (should-error
- (macroexpand '(cl-defstruct (hash-table (:predicate hash-table-p))))
- :type 'wrong-type-argument))
-
;;; cl-macs-tests.el ends here