Thanks, Applied. But it still gives me a same test failure with TT 2.13:

> make test TEST_VERBOSE=1
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1,
'blib/lib', 'blib/arch')" t/*.t
t/00_compile....1..1
ok 1 - require Inline::TT;
ok
t/01_add........file error - add: not found# Looks like your test died before it
 could output anything.
dubious
 Test returned status 2 (wstat 512, 0x200)
t/02_rubyish....file error - rubyish: not found# Looks like your test died befor
e it could output anything.
dubious
 Test returned status 2 (wstat 512, 0x200)
Failed Test    Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/01_add.t        2   512    ??   ??       %  ??
t/02_rubyish.t    2   512    ??   ??       %  ??
Failed 2/3 test scripts, 33.33% okay. 0/1 subtests failed, 100.00% okay.
make: *** [test_dynamic] Error 2

On Tue, 10 Feb 2004 18:08:18 +0000
Andy Wardley <[EMAIL PROTECTED]> wrote:

> On Tue, Feb 10, 2004 at 06:01:53PM +0000, Andy Wardley wrote:
> > I think this is what has broken it.  Should be trivial to fix:
> 
> Here's the patch.  All tests pass.
> 
> A
> 
> --- Inline-TT-0.02/lib/Inline/TT.pm     2002-08-22 11:19:46.000000000 +0100
> +++ Inline-TT-0.02-abw/lib/Inline/TT.pm 2004-02-10 18:02:42.000000000 +0000
> @@ -82,7 +82,7 @@
> 
>  my \$Doc = $document
>  my \$Context = Template::Context->new;
> -\$Context->visit(\$Doc->{_DEFBLOCKS});
> +\$Context->visit(\$Doc, \$Doc->{_DEFBLOCKS});
> 
>  $subs
>  CODE
> 
> 
> _______________________________________________
> templates mailing list
> [EMAIL PROTECTED]
> http://lists.template-toolkit.org/mailman/listinfo/templates
> 

-- 
Tatsuhiko Miyagawa <[EMAIL PROTECTED]>


_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to