#!/usr/bin/env perl -w
use
strict;
use
warnings;
use
MyUtil;
ok(
my
$t
= Text::Template::Simple->new(),
'Got the object'
);
sub
test {
ok(
my
$rv
=
$t
->compile(
q{<%* t/data/test_var.tts %>}
),
'Compile'
);
_p
"GOT: $rv\n"
;
return
is( $$,
$rv
,
'Compile OK'
);
}
test()
for
0..RECURSE_LIMIT;
ok( 1,
'Fake recursive test did not fail'
);