Fixing an annoyance with eli-tester when the error string contains ~
This commit is contained in:
parent
940438e7c4
commit
4a89ccea5d
|
@ -61,7 +61,7 @@
|
||||||
#'(let* ([form (failure-format)]
|
#'(let* ([form (failure-format)]
|
||||||
[prefix (continuation-mark-set->list (current-continuation-marks)
|
[prefix (continuation-mark-set->list (current-continuation-marks)
|
||||||
failure-prefix-mark)])
|
failure-prefix-mark)])
|
||||||
(error 'loc (form prefix 'e fmt arg ...)))))
|
(error 'loc "~a" (form prefix 'e fmt arg ...)))))
|
||||||
(define (t1 x)
|
(define (t1 x)
|
||||||
#`(let ([x (safe #,x)])
|
#`(let ([x (safe #,x)])
|
||||||
(unless (and (eq? 'values (car x)) (= 2 (length x)) (cadr x))
|
(unless (and (eq? 'values (car x)) (= 2 (length x)) (cadr x))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user