SuzanneSoy / repltest

REPLtest: Copy-paste your REPL interactions, and have them run as tests
http://docs.racket-lang.org/repltest/
Other
2 stars 0 forks source link

Add #:prompt, #:before-prompt and #:after-prompt options #9

Open SuzanneSoy opened 8 years ago

SuzanneSoy commented 8 years ago

The arguments can either be a string (matched exactly), or a regexp.

Specifying a regexp matching the prompt, and a regexp for characters preceding the prompt which are not part of it (and therefore will be part of the preceding result or main module’s code).

SuzanneSoy commented 8 years ago

How do we make these match only at the beginning of a line, if desired?