raco test docs module*->module
This commit is contained in:
parent
3b08e2cccd
commit
56a701bfae
|
@ -187,8 +187,8 @@ identifiers:
|
||||||
|
|
||||||
In order to prevent evaluation of a file for testing purposes, it
|
In order to prevent evaluation of a file for testing purposes, it
|
||||||
suffices to create a submodule that does not perform any tests and
|
suffices to create a submodule that does not perform any tests and
|
||||||
does not trigger the evaluation of the enclosing module. The
|
does not trigger the evaluation of the enclosing module. So, for
|
||||||
@racket[module*] form is one way to accomplish this:
|
instance, a file might look like this:
|
||||||
|
|
||||||
@#reader scribble/comment-reader
|
@#reader scribble/comment-reader
|
||||||
(racketmod
|
(racketmod
|
||||||
|
@ -197,7 +197,7 @@ does not trigger the evaluation of the enclosing module. The
|
||||||
(/ 1 0)
|
(/ 1 0)
|
||||||
|
|
||||||
;; don't run this file for testing:
|
;; don't run this file for testing:
|
||||||
(module* test racket/base)
|
(module test racket/base)
|
||||||
)
|
)
|
||||||
|
|
||||||
@section[#:tag "test-config-info"]{Test Configuration by @filepath{info.rkt}}
|
@section[#:tag "test-config-info"]{Test Configuration by @filepath{info.rkt}}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user