Subject: | t/vmethods/text.t fails under Perl 5.17.11. |
Hiding in the bowels of perl51711delta.pod is the statement that the split() built-in has been modified so that if the first argument is an expression evaluating to ' ', it now behaves like a literal ' '.
Since test 35 of t/vmethods/text.t relies on the old behavior, it fails.
I am not sure what severity to give this. The test failure does not indicate a failure of Template-Toolkit code, and the behavior may not make it into a production version of Perl anyway. But it does require investigation and a force install.
Since the subject test actually tests the behavior of split() rather than Template-Toolkit, the attached patch simply removes the failing test.
Subject: | Template-t-vmethods-text.patch |
--- t/vmethods/text.old 2012-02-07 04:10:53.000000000 -0500
+++ t/vmethods/text.t 2013-04-21 13:38:21.000000000 -0400
@@ -158,12 +158,6 @@
The_dog_sat_on_the_log
-- test --
--- name text.split.join d --
-[% spaced.split(' ').join('_') %]
--- expect --
-__The_dog_sat_on_the_log
-
--- test --
-- name text.list --
[% string.list.join %]
-- expect --