Slightly improving error message on test--> failure
This commit is contained in:
parent
fc29e7e856
commit
ec487fac4c
|
@ -2127,9 +2127,11 @@
|
||||||
(for-each
|
(for-each
|
||||||
(λ (v2) (fprintf (current-error-port) "expected: ~v\n" v2))
|
(λ (v2) (fprintf (current-error-port) "expected: ~v\n" v2))
|
||||||
expected)
|
expected)
|
||||||
(for-each
|
(if (empty? got)
|
||||||
(λ (v1) (fprintf (current-error-port) " actual: ~v\n" v1))
|
(fprintf (current-error-port) "got nothing\n")
|
||||||
got)))])))
|
(for-each
|
||||||
|
(λ (v1) (fprintf (current-error-port) " actual: ~v\n" v1))
|
||||||
|
got))))])))
|
||||||
|
|
||||||
(define-syntax (test-predicate stx)
|
(define-syntax (test-predicate stx)
|
||||||
(syntax-case stx ()
|
(syntax-case stx ()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user