Add contract for run-tests.
This commit is contained in:
parent
46dc0357ba
commit
032e1ebf55
|
@ -30,6 +30,7 @@
|
|||
|
||||
(require racket/match
|
||||
racket/pretty
|
||||
racket/contract
|
||||
"private/base.rkt"
|
||||
"private/counter.rkt"
|
||||
"private/format.rkt"
|
||||
|
@ -39,10 +40,15 @@
|
|||
"private/monad.rkt"
|
||||
"private/hash-monad.rkt"
|
||||
"private/name-collector.rkt"
|
||||
"private/text-ui-util.rkt")
|
||||
"private/text-ui-util.rkt"
|
||||
"private/test.rkt")
|
||||
|
||||
(provide run-tests
|
||||
display-context
|
||||
(provide/contract
|
||||
[run-tests (((or/c test-case? test-suite?))
|
||||
((or/c 'quiet 'normal 'verbose))
|
||||
. ->* . exact-nonnegative-integer?)])
|
||||
|
||||
(provide display-context
|
||||
display-exn
|
||||
display-summary+return
|
||||
display-ticker
|
||||
|
|
Loading…
Reference in New Issue
Block a user