Subject: | t/03_extract_header.t fails (with newer Test::Differences?) |
I see the following new failure on my smokers:
...
# Failed test 'extract_ok'
# at t/03_extract_header.t line 28.
# +----+------------------------------------------------------------+----+--------------------------------+
# | Elt|Got | Elt|Expected |
# +----+------------------------------------------------------------+----+--------------------------------+
# | 0|{ | 0|{ |
# | 1| charset => 'UTF-8', | 1| charset => 'UTF-8', |
# | 2| lexicon_class => 'Foo::Bar', | 2| lexicon_class => 'Foo::Bar', |
# | 3| nplurals => 2, | 3| nplurals => 2, |
# | 4| plural => 'n != 1', | 4| plural => 'n != 1', |
# | 5| plural_code => sub { | 5| plural_code => sub { |
# * 6| package Locale::TextDomain::OO::Util::ExtractHeader; * | |
# | 7| use warnings; | 6| use warnings; |
# | 8| use strict; | 7| use strict; |
# * 9| no feature ':all';\n * 8|\s\s\s\s\s\s\n *
# * 10| use feature ':5.10'; * | |
# * 11| my $n = shift(); * | |
# * 12| use integer; * | |
# * 13| 0 + ($n != 1); * | |
# | 14| } | 9| } |
# | 15|} | 10|} |
# +----+------------------------------------------------------------+----+--------------------------------+
# Looks like you failed 1 test of 7.
t/03_extract_header.t ..
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/7 subtests
...
This seems to happen if Test::Differences 0.67 is installed. Statistical analysis:
****************************************************************
Regression 'mod:Test::Differences'
****************************************************************
Name Theta StdErr T-stat
[0='const'] 1.0000 0.0000 16659327044985804.00
[1='eq_0.63'] 0.0000 0.0000 1.33
[2='eq_0.64'] 0.0000 0.0000 1.84
[3='eq_0.65'] 0.0000 0.0000 4.27
[4='eq_0.66'] 0.0000 0.0000 6.41
[5='eq_0.67'] -1.0000 0.0000 -15918538180411068.00
R^2= 1.000, N= 161, K= 6
****************************************************************
Possibly relevant change: https://metacpan.org/source/DCANTRELL/Test-Differences-0.67/Changes#L4