0.pre7.14.flaky4.5:
[sbcl.git] / tests / float.pure.lisp
index f4382e3..c3abd91 100644 (file)
     (assert (>= 100 -ifni))
     (assert (not (<= 6/7 (* 3 -ifni))))
     (assert (not (> +ifni +ifni)))))
+
+;;; ANSI: FILE-LENGTH should signal an error of type TYPE-ERROR if
+;;; stream is not a stream associated with a file.
+;;;
+;;; (Peter Van Eynde's ansi-test suite caught this, and Eric Marsden
+;;; reported a fix for CMU CL, which was ported to sbcl-0.6.12.35.)
+#+nil ; FIXME: Something in sbcl-0.7.pre15 broke this again.
+(assert (typep (nth-value 1 (ignore-errors (float-radix "notfloat")))
+              'type-error))
\ No newline at end of file