Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
  • Loading branch information
rgrinberg committed Jun 6, 2018
1 parent bdeef73 commit abfa90b
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions test/blackbox-tests/test-cases/quoting/run.t
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

0 comments on commit abfa90b

Please sign in to comment.