Merge pull request #871 from rgrinberg/filename-quote-spacing

Add test for behavior of templates and arguments with spaces
This commit is contained in:
Rudi Grinberg 2018-06-11 18:38:55 +07:00 committed by GitHub
commit b83d1049fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,8 @@
(alias
((name unquoted)
(action (echo ${read:foo bar.txt}))))
(alias
((name quoted)
(action (echo "${read:foo bar.txt}"))))

View File

@ -0,0 +1 @@
filename contains spaces

View File

@ -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}