X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Finterface.pure.lisp;h=c84cc6343379a6ceed282a839a1e3866f190b5a8;hb=22bb62c99eda1ba3a5e423687ca77458e55dfed3;hp=b3f8949ac87ab6d54712e207d2cbbaac86769712;hpb=66187cb2c39eb11c33451c64d90a644961fd0b46;p=sbcl.git diff --git a/tests/interface.pure.lisp b/tests/interface.pure.lisp index b3f8949..c84cc63 100644 --- a/tests/interface.pure.lisp +++ b/tests/interface.pure.lisp @@ -27,3 +27,31 @@ (assert (< 0 (length (apropos-list "PRINT" :cl)) (length (apropos-list "PRINT")))) +;;; Further, it should correctly deal with the external-only flag (bug +;;; reported by cliini on #lisp IRC 2003-05-30, fixed in sbcl-0.8.0.1x +;;; by CSR) +(assert (= (length (apropos-list "" "CL")) + (length (apropos-list "" "CL" t)))) +(assert (< 0 + (length (apropos-list "" "SB-VM" t)) + (length (apropos-list "" "SB-VM")))) + +;;; DESCRIBE shouldn't fail on rank-0 arrays (bug reported and fixed +;;; by Lutz Euler sbcl-devel 2002-12-03) +(describe #0a0) +(describe #(1 2 3)) +(describe #2a((1 2) (3 4))) + +;;; TYPEP, SUBTYPEP, UPGRADED-ARRAY-ELEMENT-TYPE and +;;; UPGRADED-COMPLEX-PART-TYPE should be able to deal with NIL as an +;;; environment argument +(typep 1 'fixnum nil) +(subtypep 'fixnum 'integer nil) +(upgraded-array-element-type '(mod 5) nil) +(upgraded-complex-part-type '(single-float 0.0 1.0) nil) + +;;; We should have documentation for our extension package: +(assert (documentation (find-package "SB-EXT") t)) + +;;; DECLARE should not be a special operator +(assert (not (special-operator-p 'declare)))