minor
svn: r13277
This commit is contained in:
parent
c79acd6f61
commit
79e4fc3e9b
|
@ -42,7 +42,7 @@
|
||||||
(cond [(and (eq? 'values (car x)) (eq? 'error (car y)))
|
(cond [(and (eq? 'values (car x)) (eq? 'error (car y)))
|
||||||
#,(blame x "expected an error; got ~a" #'(show x))]
|
#,(blame x "expected an error; got ~a" #'(show x))]
|
||||||
[(and (eq? 'error (car x)) (eq? 'error (car y)))
|
[(and (eq? 'error (car x)) (eq? 'error (car y)))
|
||||||
(unless (regexp-match (regexp-quote (cadr y)) (cadr x))
|
(unless (regexp-match? (regexp-quote (cadr y)) (cadr x))
|
||||||
#,(blame x "bad error message, expected ~s; got ~s"
|
#,(blame x "bad error message, expected ~s; got ~s"
|
||||||
#'(cadr y) #'(cadr x)))]
|
#'(cadr y) #'(cadr x)))]
|
||||||
[(not (equal? x y))
|
[(not (equal? x y))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user