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