diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-11-30 17:32:43 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-11-30 17:32:43 +0200 |
commit | be14801929cf2a6caced87df034ae12a85f42aa6 (patch) | |
tree | 74670e0a746961424e50c09449d526e143c1abfc /tests | |
parent | 4b31ef06275ad423e48a75d15fb0ee21c3127e3c (diff) |
Add support for typed/untyped concatenated expansion
Diffstat (limited to 'tests')
-rw-r--r-- | tests/function/path/testscript | 4 | ||||
-rw-r--r-- | tests/test/script/runner/cleanup.test | 2 | ||||
-rw-r--r-- | tests/test/script/runner/status.test | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/function/path/testscript b/tests/function/path/testscript index 0f83ad6..fc1cb31 100644 --- a/tests/function/path/testscript +++ b/tests/function/path/testscript @@ -19,8 +19,8 @@ end : normalize : { - $* <'print $normalize([path] a/../b/)' >"b" : path - $* <'print $normalize([paths] a/../b/ a/../c)' >"b c" : paths + $* <'print $normalize([path] a/../b)' >"b" : path + $* <'print $normalize([paths] a/../b a/../c)' >"b c" : paths $* <'print $normalize([dir_path] a/../b)' >"b$s" : dir-path $* <'print $normalize([dir_paths] a/../b a/../c/)' >"b$s c$s" : dir-paths $* <'print $path.normalize(a/../b)' >"b" : untyped diff --git a/tests/test/script/runner/cleanup.test b/tests/test/script/runner/cleanup.test index e6cefd5..e5d917d 100644 --- a/tests/test/script/runner/cleanup.test +++ b/tests/test/script/runner/cleanup.test @@ -13,7 +13,7 @@ EOI b = $effect($build.path) -q --no-column --buildfile - <"./: test{testscript}" \ &?test/*** test c = cat >>>testscript -test = \'$test\' +test = "'$test'" # Valid cleanups. # diff --git a/tests/test/script/runner/status.test b/tests/test/script/runner/status.test index 716f2d4..4998311 100644 --- a/tests/test/script/runner/status.test +++ b/tests/test/script/runner/status.test @@ -13,7 +13,7 @@ EOI b = $effect($build.path) -q --no-column --buildfile - <"./: test{testscript}" \ &?test/*** test c = cat >>>testscript -test = \'$test\' +test = "'$test'" +if ($cxx.target.class == "windows") ext = ".exe" |