use racunit better to get expected/actual info
This commit is contained in:
parent
d7d157b441
commit
a728bae3cb
|
@ -47,8 +47,9 @@
|
||||||
(syntax-case stx ()
|
(syntax-case stx ()
|
||||||
[(_ nm a b)
|
[(_ nm a b)
|
||||||
(syntax/loc stx (test-check nm type-equal? a b))]))
|
(syntax/loc stx (test-check nm type-equal? a b))]))
|
||||||
|
(define-binary-check (check-tc-result-equal?* tc-result-equal/test? a b))
|
||||||
(define-syntax (check-tc-result-equal? stx)
|
(define-syntax (check-tc-result-equal? stx)
|
||||||
(syntax-case stx ()
|
(syntax-case stx ()
|
||||||
[(_ nm a b)
|
[(_ nm a b)
|
||||||
(syntax/loc stx (test-check nm tc-result-equal/test? a b))]))
|
(syntax/loc stx (test-case nm (check-tc-result-equal?* a b)))]))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user