X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fclos.impure.lisp;h=2113f59fc33eeaa18066a1587402f03b78319cc9;hb=1fa1730414b6c914e502d339945d0ad7a4a7f5d9;hp=4484eb72f3c803c92f7a21e99dee50e118d6a753;hpb=3641e3c73615bffcdd9c014e6663d80935e985ef;p=sbcl.git diff --git a/tests/clos.impure.lisp b/tests/clos.impure.lisp index 4484eb7..2113f59 100644 --- a/tests/clos.impure.lisp +++ b/tests/clos.impure.lisp @@ -1226,8 +1226,7 @@ ;;; test case from Gerd Moellmann (define-method-combination r-c/c-m-1 () ((primary () :required t)) - `(restart-case (call-method ,(first primary)) - ())) + `(restart-case (call-method ,(first primary)))) (defgeneric r-c/c-m-1-gf () (:method-combination r-c/c-m-1) @@ -2043,8 +2042,7 @@ (defmethod shared-initialize :around ((instance bug-1179858) (slot-names t) &key) (call-next-method)) -(with-test (:name (make-instance :fallback-generator-initarg-handling - :bug-1179858)) +(with-test (:name (:make-instance :fallback-generator-initarg-handling :bug-1179858)) ;; Now compile a lambda containing MAKE-INSTANCE to exercise the ;; fallback constructor generator. Call the resulting compiled ;; function to trigger the bug. @@ -2058,22 +2056,21 @@ (defmethod shared-initialize :around ((instance bug-1179858b) (slot-names t) &key) (call-next-method)) -(with-test (:name (make-instance :fallback-generator-non-keyword-initarg - :bug-1179858)) +(with-test (:name (:make-instance :fallback-generator-non-keyword-initarg :bug-1179858)) (flet ((foo= (n i) (= (bug-1179858b-foo i) n))) (assert (foo= 14 (funcall (compile nil '(lambda () (make-instance 'bug-1179858b)))))) (assert (foo= 15 (funcall (compile nil '(lambda () (make-instance 'bug-1179858b 'foo 15)))))))) -(with-test (:name (cpl-violation-setup :bug-309076)) +(with-test (:name (:cpl-violation-setup :bug-309076)) (assert (raises-error? (progn (defclass bug-309076-broken-class (standard-class) () (:metaclass sb-mop:funcallable-standard-class)) (sb-mop:finalize-inheritance (find-class 'bug-309076-broken-class)))))) -(with-test (:name (cpl-violation-irrelevant-class :bug-309076)) +(with-test (:name (:cpl-violation-irrelevant-class :bug-309076)) (defclass bug-309076-class (standard-class) ()) (defmethod sb-mop:validate-superclass ((x bug-309076-class) (y standard-class)) t) (assert (typep (make-instance 'bug-309076-class) 'bug-309076-class)))