summaryrefslogtreecommitdiff
path: root/tests/test_scoping/test.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_scoping/test.tpl')
-rw-r--r--tests/test_scoping/test.tpl16
1 files changed, 14 insertions, 2 deletions
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 @@
+<ste:set var="a">A</ste:set>
+<ste:set var="b">B</ste:set>
<ste:mktag name="foo">
- <ste:set var="bla">!</ste:set>
+ in foo: \$a = $a
+ in foo: \$b = $b
+ in foo: \$c = $c
+ <ste:set var="a">X</ste:set>
+ <ste:setlocal var="b">Y</ste:setlocal>
+ <ste:set var="c">Z</ste:set>
+ in foo (after set): \$a = $a
+ in foo (after set): \$b = $b
+ in foo (after set): \$c = $c
</ste:mktag>
<ste:foo />
-$bla \ No newline at end of file
+\$a = $a
+\$b = $b
+\$c = $c \ No newline at end of file