Subject: | t/02-template-filters-lazyloader.t started to fail (with new Test::Differences?) |
My smoker systems started to report the following test failure:
...
# Failed test at t/02-template-filters-lazyloader.t line 33.
# +----+----------------------------+----+-------------------------------------------------+
# | Elt|Got | Elt|Expected |
# +----+----------------------------+----+-------------------------------------------------+
# | 0|{ | 0|{ |
# | 1| dynamic_osaka => [ | 1| dynamic_osaka => [ |
# | 2| sub { | 2| sub { |
# | | * 3| package CustomFilters::Osaka; *
# | 3| use strict; | 4| use strict; |
# * 4| 'DUMMY'; * 5| return sub { *
# | | * 6| 'dynamic_osaka'; *
# | | * 7| } *
# | | * 8| ; *
# | 5| }, | 9| }, |
# | 6| 1 | 10| 1 |
# | 7| ], | 11| ], |
# | 8| okurahoma => sub { | 12| okurahoma => sub { |
# | | * 13| package CustomFilters::USA::Okurahoma; *
# | 9| use strict; | 14| use strict; |
# * 10| 'DUMMY'; * 15| return 'okurahoma'; *
# | 11| }, | 16| }, |
# | 12| osaka => sub { | 17| osaka => sub { |
# | | * 18| package CustomFilters::Osaka; *
# | 13| use strict; | 19| use strict; |
# * 14| 'DUMMY'; * 20| my $s = shift(); *
# | | * 21| my $string = shift(); *
# | | * 22| return 'osaka'; *
# | 15| }, | 23| }, |
# | 16| seattle => sub { | 24| seattle => sub { |
# | | * 25| package CustomFilters::Seattle; *
# | 17| use strict; | 26| use strict; |
# * 18| 'DUMMY'; * 27| return 'seattle'; *
# | 19| }, | 28| }, |
# | 20| seattle_cool => [ | 29| seattle_cool => [ |
# | 21| sub { | 30| sub { |
# | | * 31| package CustomFilters::Seattle; *
# | 22| use strict; | 32| use strict; |
# * 23| 'DUMMY'; * 33| sub { *
# | | * 34| return 'seattle_cool'; *
# | | * 35| } *
# | | * 36| ; *
# | 24| }, | 37| }, |
# | 25| 1 | 38| 1 |
# | 26| ], | 39| ], |
# | 27| sukiyanen_osaka => sub { | 40| sukiyanen_osaka => sub { |
# | | * 41| package CustomFilters::Osaka; *
# | 28| use strict; | 42| use strict; |
# * 29| 'DUMMY'; * 43| return 'sukiyanen_osaka'; *
# | 30| }, | 44| }, |
# | 31| tulsa => [ | 45| tulsa => [ |
# | 32| sub { | 46| sub { |
# | | * 47| package CustomFilters::USA::Okurahoma; *
# | 33| use strict; | 48| use strict; |
# * 34| 'DUMMY'; * 49| my($context, @args) = @_; *
# | | * 50| sub { *
# | | * 51| my $text = shift(); *
# | | * 52| return $args[0] . $args[1] . $text; *
# | | * 53| } *
# | | * 54| ; *
# | 35| }, | 55| }, |
# | 36| 1 | 56| 1 |
# | 37| ] | 57| ] |
# | 38|} | 58|} |
# +----+----------------------------+----+-------------------------------------------------+
# Looks like you failed 1 test of 9.
t/02-template-filters-lazyloader.t ..
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/9 subtests
...
Statistical analysis suggests that the problem started with the recent Test::Difference version (0.67):
****************************************************************
Regression 'mod:Test::Differences'
****************************************************************
Name Theta StdErr T-stat
[0='const'] 1.0000 0.0000 10347250605699748.00
[1='eq_0.63'] 0.0000 0.0000 0.20
[2='eq_0.64'] 0.0000 0.0000 0.00
[3='eq_0.65'] 0.0000 0.0000 0.00
[4='eq_0.67'] -1.0000 0.0000 -8960981883859897.00
R^2= 1.000, N= 86, K= 5
****************************************************************