Merge pull request #871 from rgrinberg/filename-quote-spacing
Add test for behavior of templates and arguments with spaces
This commit is contained in:
commit
b83d1049fc
|
@ -0,0 +1,8 @@
|
|||
|
||||
(alias
|
||||
((name unquoted)
|
||||
(action (echo ${read:foo bar.txt}))))
|
||||
|
||||
(alias
|
||||
((name quoted)
|
||||
(action (echo "${read:foo bar.txt}"))))
|
|
@ -0,0 +1 @@
|
|||
filename contains spaces
|
|
@ -24,3 +24,11 @@ The targets should only be interpreted as a single path when quoted
|
|||
$ dune runtest --root quotes-multi
|
||||
Entering directory 'quotes-multi'
|
||||
lines: foo bar baz
|
||||
|
||||
$ dune build @quoted --root filename-space
|
||||
Entering directory 'filename-space'
|
||||
filename contains spaces
|
||||
|
||||
$ dune build @unquoted --root filename-space
|
||||
Entering directory 'filename-space'
|
||||
${read:foo bar.txt}
|
||||
|
|
Loading…
Reference in New Issue