Update tests

Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
This commit is contained in:
Rudi Grinberg 2018-06-06 23:43:34 +07:00
parent bdeef73c29
commit abfa90b5a7
1 changed files with 3 additions and 7 deletions

View File

@ -3,14 +3,9 @@ that ${@} is not quoted and doesn't contain exactly 1 element
$ dune build --root bad x
Entering directory 'bad'
Error: Rule failed to generate the following targets:
- x
- y
[1]
$ dune build --root bad x
File "dune", line 3, characters 26-30:
Error: Variable ${@} expands to 2 values, however a single value is expected here. Please quote this atom.
[1]
The targets should only be interpreted as a single path when quoted
@ -26,5 +21,6 @@ The targets should only be interpreted as a single path when quoted
count_args alias runtest
Number of args: 3
$ dune runtest --root quotes-multi 2>&1 | grep -v Entering
$ dune runtest --root quotes-multi
Entering directory 'quotes-multi'
lines: foo bar baz