projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0.8.21.38: fix bug 211e
[sbcl.git]
/
tests
/
character.pure.lisp
diff --git
a/tests/character.pure.lisp
b/tests/character.pure.lisp
index
8546abc
..
74619b4
100644
(file)
--- a/
tests/character.pure.lisp
+++ b/
tests/character.pure.lisp
@@
-13,8
+13,6
@@
(cl:in-package :cl-user)
(cl:in-package :cl-user)
-(load "assertoid.lisp")
-
;;; ANSI's specification of #'CHAR-NAME imposes these constraints.
;;;
;;; (Obviously, the numeric values in this test implicitly assume
;;; ANSI's specification of #'CHAR-NAME imposes these constraints.
;;;
;;; (Obviously, the numeric values in this test implicitly assume
@@
-56,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))))