Small fix
This commit is contained in:
parent
fa1170eb59
commit
02f954d829
@ -844,11 +844,11 @@
|
||||
(define (execute-tests tests)
|
||||
(let ((test-count (length tests))
|
||||
(pass-count
|
||||
(fold (lambda (test cnt)
|
||||
(apply + (map (lambda (test)
|
||||
(let-values (((pass out) (execute-test test)))
|
||||
(println out)
|
||||
(+ cnt (if pass 1 0))))
|
||||
0 tests)))
|
||||
(if pass 1 0)))
|
||||
tests))))
|
||||
(printf "PASSED ~a/~a\n\n" pass-count test-count)))
|
||||
|
||||
;;;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user