gshank/data-muform

t/localizer/extract_header.t started to fail

eserte opened this issue · 2 comments

My smokers started to report the following failure:

#   Failed test 'extract_ok'
#   at t/localizer/extract_header.t line 23.
# +----+----------------------------------------+----+------------------------+
# | Elt|Got                                     | Elt|Expected                |
# +----+----------------------------------------+----+------------------------+
# |   0|{                                       |   0|{                       |
# |   1|  charset => 'UTF-8',                   |   1|  charset => 'UTF-8',   |
# |   2|  nplurals => 2,                        |   2|  nplurals => 2,        |
# |   3|  plural => 'n != 1',                   |   3|  plural => 'n != 1',   |
# |   4|  plural_code => sub {                  |   4|  plural_code => sub {  |
# *   5|      package Data::MuForm::Localizer;  *    |                        |
# |   6|      use warnings;                     |   5|      use warnings;     |
# |   7|      use strict;                       |   6|      use strict;       |
# *   8|      my $n = shift();\n                *   7|\s\s\s\s\s\s\n          *
# *   9|      my($nplurals, $plural);           *    |                        |
# *  10|      $nplurals = 2;                    *    |                        |
# *  11|      $plural = $n != 1;                *    |                        |
# *  12|      return 0 + $plural;               *    |                        |
# |  13|  }                                     |   8|  }                     |
# |  14|}                                       |   9|}                       |
# +----+----------------------------------------+----+------------------------+
# Looks like you failed 1 test of 6.
t/localizer/extract_header.t ........ 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/6 subtests 

This looks like it is caused by a recent change in Test::Differences.
See https://metacpan.org/source/DCANTRELL/Test-Differences-0.67/Changes#L4

Same here, when can we expect a fixed version?

Fixed.