Small fix

This commit is contained in:
Nikolay Puzanov 2022-07-12 19:29:24 +03:00
parent fa1170eb59
commit 02f954d829

View File

@ -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)))
;;;