racket/pkgs/compiler-test/tests/compiler/test/args.rkt
Conor Finegan 9852afe1b1 raco test: support ++arg <arg> and ++args <args>
Add a way for `raco test` to pass along arguments to the test program.
2017-06-22 08:09:22 -06:00

13 lines
249 B
Racket

#lang racket
(module multi-test racket/base
(require racket/match)
(match (current-command-line-arguments)
[(vector "1" "2") 1]
[_ (void)]))
(module+ test
(match (current-command-line-arguments)
[(vector "1") 1]
[_ (void)]))