Add test for concat_or_split
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
This commit is contained in:
parent
0219b0ffdb
commit
69c0ab48ce
|
@ -0,0 +1,3 @@
|
||||||
|
foo
|
||||||
|
bar
|
||||||
|
baz
|
|
@ -0,0 +1,3 @@
|
||||||
|
|
||||||
|
let () =
|
||||||
|
Printf.printf "Number of args: %d\n" (Array.length Sys.argv - 1)
|
|
@ -0,0 +1,6 @@
|
||||||
|
(executable
|
||||||
|
((name count_args)))
|
||||||
|
|
||||||
|
(alias
|
||||||
|
((name runtest)
|
||||||
|
(action (run ./count_args.exe ${read-lines:args}))))
|
|
@ -17,3 +17,8 @@ The targets should only be interpreted as a single path when quoted
|
||||||
- s
|
- s
|
||||||
- t
|
- t
|
||||||
[1]
|
[1]
|
||||||
|
|
||||||
|
$ dune runtest --root quote-from-context
|
||||||
|
Entering directory 'quote-from-context'
|
||||||
|
count_args alias runtest
|
||||||
|
Number of args: 3
|
||||||
|
|
Loading…
Reference in New Issue