Skip to content

Commit

Permalink
Add test for proper concatenation
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 4f33ca0 commit a14169d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/blackbox-tests/test-cases/quoting/quotes-multi/dune
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

(alias
((name runtest)
(action (echo "lines: ${read-lines:foo}"))))
3 changes: 3 additions & 0 deletions test/blackbox-tests/test-cases/quoting/quotes-multi/foo
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
foo
bar
baz
3 changes: 3 additions & 0 deletions test/blackbox-tests/test-cases/quoting/run.t
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ The targets should only be interpreted as a single path when quoted
$ dune runtest --root quote-from-context 2>&1 | grep -v Entering
count_args alias runtest
Number of args: 3

$ dune runtest --root quotes-multi 2>&1 | grep -v Entering
lines: foo bar baz

0 comments on commit a14169d

Please sign in to comment.