summaryrefslogtreecommitdiff
path: root/tests/test_closure/test.tpl
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2014-05-24 16:21:23 +0200
committerKevin Chabowski <kevin@kch42.de>2014-05-24 16:21:44 +0200
commit3b5c779ac5eb70acbb2a5ca56fa0d36ee48d772b (patch)
tree930d4d7ccc70300f31dcd206fc0d1cbf6ba7a28b /tests/test_closure/test.tpl
parentd48be01fff31a7a9d611802721aa70532d251c3a (diff)
downloadste-3b5c779ac5eb70acbb2a5ca56fa0d36ee48d772b.tar.gz
ste-3b5c779ac5eb70acbb2a5ca56fa0d36ee48d772b.tar.bz2
ste-3b5c779ac5eb70acbb2a5ca56fa0d36ee48d772b.zip
Refined test_closure
Diffstat (limited to 'tests/test_closure/test.tpl')
-rw-r--r--tests/test_closure/test.tpl10
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/test_closure/test.tpl b/tests/test_closure/test.tpl
index c13bd5a..c84ed0a 100644
--- a/tests/test_closure/test.tpl
+++ b/tests/test_closure/test.tpl
@@ -1,8 +1,10 @@
-<ste:mktag name="initfoo">
+<ste:mktag name="inittag" mandatory="innername">
<ste:set var="x"><ste:tagcontent /></ste:set>
- <ste:mktag name="foo">
+ <ste:mktag name="$_tag_parameters[innername]">
<ste:calc>$x + <ste:tagcontent /></ste:calc>
</ste:mktag>
</ste:mktag>
-<ste:initfoo>10</ste:initfoo>
-<ste:foo>20</ste:foo> \ No newline at end of file
+<ste:inittag innername="foo">10</ste:inittag>
+<ste:inittag innername="bar">20</ste:inittag>
+<ste:foo>30</ste:foo>
+<ste:bar>40</ste:bar> \ No newline at end of file