projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
format: Check types for ~C and ~R.
[sbcl.git]
/
tests
/
print.impure.lisp
diff --git
a/tests/print.impure.lisp
b/tests/print.impure.lisp
index
8fd8bad
..
2e5b391
100644
(file)
--- a/
tests/print.impure.lisp
+++ b/
tests/print.impure.lisp
@@
-645,4
+645,8
@@
(timeout ()
(error "Endless loop in FORMAT"))))
+(with-test (:name :format-type-check)
+ (assert (raises-error? (format nil "~r" 1.32) sb-format:format-error))
+ (assert (raises-error? (format nil "~c" 1.32) sb-format:format-error)))
+
;;; success