Subject: | Template-Toolkit 2.08 failed test (autoform.t) |
Platform is Solaris 2.6, Perl version 5.6.1
/home/williami/bld/Template-Toolkit-2.08: make testdb TEST_FILE=t/autoform.t
make[1]: Entering directory `/home/williami/bld/Template-Toolkit-2.08/xs'
make[1]: Leaving directory `/home/williami/bld/Template-Toolkit-2.08/xs'
PERL_DL_NONLAZY=1 /usr/local/bin/perl -d "-Iblib/lib" "-Iblib/arch" t/autoform.t
Default die handler restored.
Loading DB routines from perl5db.pl version 1.07
Editor support available.
Enter h or `h h' for help, or `man perldebug' for more help.
main::(t/autoform.t:24): $^W = 1;
DB<1> c
Text::Reform::import(/home/williami/lib/Text/Reform.pm:29):
29: $decimal = localeconv()->{decimal_point} || '.';
DB<1> c
1..25
ok 1 - running test_expect()
ok 2 - template processor is engaged
ok 3 - input read and split into 11 tests
ok 4 - template text 1 processed OK: [% global.text = BLOCK %]\nThis i...
ok 5 - template text 1 matched expected
ok 6 - template text 2 processed OK: [% USE autoformat(left=5) %]\n[% ...
ok 7 - template text 2 matched expected
ok 8 - template text 3 processed OK: [% USE autoformat %]\n[% autoform...
ok 9 - template text 3 matched expected
ok 10 - template text 4 processed OK: [% USE autoformat(left=10) %]\n[%...
ok 11 - template text 4 matched expected
ok 12 - template text 5 processed OK: [% USE autoformat(left=5) %]\n[% ...
ok 13 - template text 5 matched expected
ok 14 - template text 6 processed OK: [% USE autoformat %]\n[% FILTER a...
ok 15 - template text 6 matched expected
ok 16 - template text 7 processed OK: [% USE autoformat %]\n[% autoform...
ok 17 - template text 7 matched expected
ok 18 - template text 8 processed OK: [% USE autoformat %]\n[% autoform...
ok 19 - template text 8 matched expected
ok 20 - template text 9 processed OK: [% USE autoformat %]\n[% FILTER p...
MATCH FAILED
input: [[% USE autoformat %]
[% FILTER poetry = autoformat(left => 20, right => 40) %]
Be not afeard. The isle is full of noises, sounds and sweet
airs that give delight but hurt not.
[% END %]
[% FILTER poetry %]
I cried to dream again.
[% END %]
]
expect: [ Be not afeard. The
isle is full of
noises, sounds and
sweet airs that give
delight but hurt not.
I cried to dream
again.]
output: [ Be not afeard. The
isle is full of
noises, sounds and
sweet airs that give
delight but hurt not.
I cried to dream
again.]
FAILED 21: - template text 9 did not match expected
not ok 21 - template text 9 did not match expected
ok 22 - template text 10 processed OK: Item Description C...
ok 23 - template text 10 matched expected
ok 24 - template text 11 processed OK: [% USE autoformat(form => '>>>.<...
ok 25 - template text 11 matched expected
Debugged program terminated. Use q to quit or R to restart,
use O inhibit_exit to avoid stopping after program termination,
h q, h R or h O to get additional info.
DB<1>