summaryrefslogtreecommitdiff
path: root/t/lex.lisp
diff options
context:
space:
mode:
Diffstat (limited to 't/lex.lisp')
-rw-r--r--t/lex.lisp4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/lex.lisp b/t/lex.lisp
index dfa632a..7a20608 100644
--- a/t/lex.lisp
+++ b/t/lex.lisp
@@ -76,7 +76,7 @@
(handler-case
(progn (read-this "0v0" (lex:read-token))
(fail))
- (lex:invalid-immediate-or-keyword ())))
+ (lex:lexer-error ())))
;; do we want a custom error for this too?
(test read-token-immediate-radix
@@ -97,4 +97,4 @@
(handler-case
(progn (read-this "sub0" (lex:read-token))
(fail))
- (lex:invalid-immediate-or-keyword ())))
+ (lex:lexer-error ())))