Subject: | Tests fail with Template-Toolkit 2.20 |
Date: | Mon, 09 Mar 2009 02:21:49 +0100 |
To: | bug-Template-Plugin-Class [...] rt.cpan.org |
From: | Ansgar Burchardt <ansgar [...] 2008.43-1.org> |
Hi,
The tests fail with Template-Toolkit 2.20:
./Build test
t/class....
# Failed test 'no error'
# at t/class.t line 10.
# got: ''
# expected: undef
# Looks like you failed 1 test of 3.
See http://bugs.debian.org/518859
This is because the value of $tt->error has changed in the latest
version of Template-Toolkit.
I think the test for $tt->error should be dropped: $tt->process already
says success and the documentation mentions nowhere the value of
$tt->error when no error was returned, so the test should not rely on
it.
Regards,
Ansgar
--
PGP: 1024D/595FAD19 739E 2D09 0969 BEA9 9797 B055 DDB0 2FF7 595F AD19