adjusted error message checking
This commit is contained in:
parent
38b802dde4
commit
8f804afcaa
|
@ -11,4 +11,4 @@
|
||||||
|
|
||||||
(start 200 200)
|
(start 200 200)
|
||||||
(check-error (hangman-list reveal-list draw-next-part)
|
(check-error (hangman-list reveal-list draw-next-part)
|
||||||
"draw-next-part: result of type <boolean> expected, your function produced #<void>")
|
"draw-next-part: is expected to return a boolean, but it returned (void)")
|
||||||
|
|
|
@ -28,8 +28,7 @@
|
||||||
|
|
||||||
(check-expect (key=? "b" "a") false)
|
(check-expect (key=? "b" "a") false)
|
||||||
|
|
||||||
(check-error (key=? "a" 0) "key=?: expected <KEY-EVTS> as second argument, given: 0")
|
(check-error (key=? "a" 0) "key=?: expects a KEY-EVTS as second argument, given 0")
|
||||||
|
|
||||||
|
|
||||||
;; run world run
|
;; run world run
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user