projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0.9.2.29:
[sbcl.git]
/
tests
/
character.pure.lisp
diff --git
a/tests/character.pure.lisp
b/tests/character.pure.lisp
index
97a2590
..
74619b4
100644
(file)
--- a/
tests/character.pure.lisp
+++ b/
tests/character.pure.lisp
@@
-54,3
+54,10
@@
(digit-char 4 1)
(digit-char 4 37)))
(assert (raises-error? (apply (car form) (mapcar 'eval (cdr form))) type-error)))
(digit-char 4 1)
(digit-char 4 37)))
(assert (raises-error? (apply (car form) (mapcar 'eval (cdr form))) type-error)))
+
+(dotimes (i 256)
+ (let* ((char (code-char i))
+ (graphicp (graphic-char-p char))
+ (name (char-name char)))
+ (unless graphicp
+ (assert name))))