>>>>> "Andy" == Andy Wardley <[EMAIL PROTECTED]> writes:
Andy> Thanks to a prod from Axel, version 2.11 is now released and on Andy> its way to CPAN. You can also get it from here: Andy> http://template-toolkit.org/download.html Andy> Apart from the version number and documentation updates, this is Andy> exactly the same as 2.10b. Is this one of those things that just doesn't work across the puddle? Is it because you drive on the other side of the road? $ prove -vb t/date.t t/date....1..33 ok 1 - running test_expect() ok 2 - template processor is engaged ok 3 - input read and split into 15 tests ok 4 - template text 1 processed OK: [% USE date %]\nLet's hope the ye... ok 5 - template text 1 matched expected ok 6 - template text 2 processed OK: [% USE date(time => time) %]\ndef... ok 7 - template text 2 matched expected ok 8 - template text 3 processed OK: [% USE date(time => time) %]\n[% ... ok 9 - template text 3 matched expected ok 10 - template text 4 processed OK: [% USE date(time => time, format... ok 11 - template text 4 matched expected ok 12 - template text 5 processed OK: [% USE date(format = format.date... ok 13 - template text 5 matched expected ok 14 - template text 6 processed OK: [% USE date(format = format.date... ok 15 - template text 6 matched expected ok 16 - template text 7 processed OK: [% USE date(format = format.date... ok 17 - template text 7 matched expected ok 18 - template text 8 processed OK: [% USE english = date(format => ... ok 19 - template text 8 matched expected ok 20 - template text 9 processed OK: [% USE english = date(format => ... ok 21 - template text 9 matched expected ok 22 - template text 10 processed OK: [% USE date %]\n[% date.format('4... ok 23 - template text 10 matched expected ok 24 - template text 11 processed OK: [% USE day = date(format => '%A'... MATCH FAILED input: [[% USE day = date(format => '%A', locale => 'en_GB') %]\n[% day.format('4:20:00 9-13-2000') %]\n] expect: [Monday] output: [Tuesday] FAILED 25: - template text 11 did not match expected not ok 25 - template text 11 did not match expected ok 26 - template text 12 processed OK: [% TRY %]\n[% USE date %]\n[% date... ok 27 - template text 12 matched expected ok 28 - template text 13 processed OK: [% USE date %]\n[% template.name ... ok 29 - template text 13 matched expected ok 30 - template text 14 processed OK: [% IF date_calc -%]\n[% USE date;... ok 31 - template text 14 matched expected ok 32 - template text 15 processed OK: [% USE date;\n date.format('12:... ok 33 - template text 15 matched expected FAILED test 25 Failed 1/33 tests, 96.97% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/date.t 33 1 3.03% 25 Failed 1/1 test scripts, 0.00% okay. 1/33 subtests failed, 96.97% okay. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training! _______________________________________________ templates mailing list [EMAIL PROTECTED] http://lists.template-toolkit.org/mailman/listinfo/templates
