From 9f86139b7604ea782a35e09bf9d0c55154197051 Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Sat, 24 May 2014 13:07:19 +0200 Subject: Added ste:setlocal and refined test_scope. --- tests/test_scoping/test.tpl | 16 ++++++++++++++-- tests/test_scoping/want | 9 +++++++++ 2 files changed, 23 insertions(+), 2 deletions(-) (limited to 'tests/test_scoping') diff --git a/tests/test_scoping/test.tpl b/tests/test_scoping/test.tpl index 25a46e7..e8a5cf2 100644 --- a/tests/test_scoping/test.tpl +++ b/tests/test_scoping/test.tpl @@ -1,6 +1,18 @@ +A +B - ! + in foo: \$a = $a + in foo: \$b = $b + in foo: \$c = $c + X + Y + Z + in foo (after set): \$a = $a + in foo (after set): \$b = $b + in foo (after set): \$c = $c -$bla \ No newline at end of file +\$a = $a +\$b = $b +\$c = $c \ No newline at end of file diff --git a/tests/test_scoping/want b/tests/test_scoping/want index e69de29..6e7a154 100644 --- a/tests/test_scoping/want +++ b/tests/test_scoping/want @@ -0,0 +1,9 @@ +in foo: $a = A +in foo: $b = B +in foo: $c = +in foo (after set): $a = X +in foo (after set): $b = Y +in foo (after set): $c = Z +$a = X +$b = B +$c = -- cgit v1.2.3-70-g09d2