From f1d461f3a59e0d4e8f916fde3538cc2501ff0296 Mon Sep 17 00:00:00 2001 From: Tom van Dijck Date: Tue, 2 May 2017 09:09:38 -0700 Subject: [PATCH] Add test for multiple tokens. --- tests/base/test_os.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/base/test_os.lua b/tests/base/test_os.lua index 37463734..ce5222db 100644 --- a/tests/base/test_os.lua +++ b/tests/base/test_os.lua @@ -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 +