Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

*** empty log message ***

git-svn-id: svn://svn.tt2.org/tt/Template2/trunk@16 d5a88997-0a34-4036-9ed2-92fb5d660d91
  • Loading branch information...
commit c1d9c891b4cf5ff33960a199b9e7771933364787 1 parent 7021422
@abw authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 t/include.t
View
4 t/include.t
@@ -55,7 +55,7 @@ my $tproc = Template->new({
INTERPOLATE => 1,
INCLUDE_PATH => "$dir/src:$dir/lib",
TRIM => 1,
- RESET_BLOCKS => 0,
+ AUTO_RESET => 0,
});
my $tt_reset = Template->new({
@@ -71,9 +71,11 @@ __DATA__
[% a %]
[% PROCESS incblock -%]
[% b %]
+[% INCLUDE first_block %]
-- expect --
alpha
bravo
+this is my first block, a is set to 'alpha'
-- test --
[% INCLUDE first_block %]
Please sign in to comment.
Something went wrong with that request. Please try again.