Add test for multiple tokens.

This commit is contained in:
Tom van Dijck 2017-05-02 09:09:38 -07:00
parent bce3f2c4ed
commit f1d461f3a5

View File

@ -296,3 +296,7 @@
test.isequal('cmdtool "../foo/path1/"', os.translateCommandsAndPaths("cmdtool %[path1/]", '../foo', '.', 'osx'))
end
function suite.translateCommandsAndPaths_MultipleTokens()
test.isequal('cmdtool "../foo/path1" "../foo/path2/"', os.translateCommandsAndPaths("cmdtool %[path1] %[path2/]", '../foo', '.', 'osx'))
end