fixed a contract bug

This commit is contained in:
Spencer Florence 2015-01-02 14:48:52 -05:00
parent c5ab859fb7
commit e4175e3f7b
2 changed files with 3 additions and 2 deletions

View File

@ -3,7 +3,7 @@
racket/contract)
(provide
(contract-out
[test-files! (->* () () #:rest path-string? any/c)]
[test-files! (->* () () #:rest (listof path-string?) any/c)]
[clear-coverage! (-> any)]
[get-test-coverage (-> coverage/c)]
[make-covered?

View File

@ -3,7 +3,8 @@
;; for every .rkt file in those directories it loads
;; tests that file and checks its coverage against an
;; .rktl file of the same name
(require "../cover.rkt" racket/runtime-path rackunit)
(require (only-in "../main.rkt" test-files! clear-coverage! get-test-coverage)
racket/runtime-path rackunit)
(define (test-dir d)
(define files