Fixes test-->>E failure message
Fixes PR 11853
This commit is contained in:
parent
46b3a9d13d
commit
0b9db752ca
|
@ -2255,7 +2255,7 @@
|
|||
(if (procedure? goal) "satisfying" "equal to")
|
||||
goal)
|
||||
(when (search-failure-cutoff? result)
|
||||
(fprintf (current-error-port) " (but some terms were not unexplored)"))
|
||||
(fprintf (current-error-port) " (but some terms were not explored)"))
|
||||
(newline (current-error-port))))))
|
||||
|
||||
(define-syntax (test-predicate stx)
|
||||
|
|
|
@ -2455,7 +2455,7 @@
|
|||
|
||||
(define (equal-to-7 x) (= x 7))
|
||||
(test (capture-output (test-->>∃ #:steps 5 1+ 0 equal-to-7))
|
||||
#rx"^FAILED .*\nno reachable term satisfying #<procedure:equal-to-7> \\(but some terms were not unexplored\\)\n$")
|
||||
#rx"^FAILED .*\nno reachable term satisfying #<procedure:equal-to-7> \\(but some terms were not explored\\)\n$")
|
||||
|
||||
(test (capture-output (test-->>∃ 1+ 0 7)) "")
|
||||
(test (capture-output (test-->>E 1+ 0 7)) "")
|
||||
|
|
Loading…
Reference in New Issue
Block a user