aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/test/script/parser/scope.test
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-11-10 16:33:12 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-11-10 16:33:12 +0200
commita084c6650036db9f2a8cd69e31492c5dae237793 (patch)
treeba3e34f6e85ae9e0073476b0dc46956c51039189 /unit-tests/test/script/parser/scope.test
parentf1cbb7c9d5c750366fa1918a53d0682f0633b1d9 (diff)
Implement scope-if in testscript
Diffstat (limited to 'unit-tests/test/script/parser/scope.test')
-rw-r--r--unit-tests/test/script/parser/scope.test10
1 files changed, 2 insertions, 8 deletions
diff --git a/unit-tests/test/script/parser/scope.test b/unit-tests/test/script/parser/scope.test
index 8708b19..3b10d01 100644
--- a/unit-tests/test/script/parser/scope.test
+++ b/unit-tests/test/script/parser/scope.test
@@ -12,23 +12,17 @@ wd += foo;
wd += 1;
$* foo.test <'cmd $~' >"cmd $wd" # wd
-$* -s <<EOI >>EOO # group-empty
+$* -s <<EOI # group-empty
{
}
EOI
-{
-}
-EOO
-$* -s <<EOI >>EOO # group-empty-empty
+$* -s <<EOI # group-empty-empty
{
{
}
}
EOI
-{
-}
-EOO
$* -s <<EOI >>EOO # group
{