Subject: | Fails t/sub-quote.t on 5.10.x with PERL_UNICODE=SAD set |
I suggest simply skipping the test when the envvar is detected. Not submitting a patch in case you have a more elaborate idea.
rabbit@Ahasver:~/.cpanm/work/1473915007.23170/Moo-2.002004$ perlbrew use 5.10.0
rabbit@Ahasver:~/.cpanm/work/1473915007.23170/Moo-2.002004$ prove -l t/sub-quote.t
t/sub-quote.t .. ok
All tests successful.
Files=1, Tests=82, 0 wallclock secs ( 0.05 usr 0.00 sys + 0.07 cusr 0.00 csys = 0.12 CPU)
Result: PASS
rabbit@Ahasver:~/.cpanm/work/1473915007.23170/Moo-2.002004$ PERL_UNICODE=SAD prove -l t/sub-quote.t
t/sub-quote.t .. 1/?
# Failed test 'hints hash preserved from context'
# at t/sub-quote.t line 209.
# Structures begin differing at:
# $got->{open>} = ':utf8'
# $expected->{open>} = Does not exist
# Failed test 'empty hints maintained when inlined'
# at t/sub-quote.t line 237.
# Structures begin differing at:
# $got->{open>} = ':utf8'
# $expected->{open>} = Does not exist
# Looks like you failed 2 tests of 82.
t/sub-quote.t .. Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/82 subtests
Test Summary Report
-------------------
t/sub-quote.t (Wstat: 512 Tests: 82 Failed: 2)
Failed tests: 27, 29
Non-zero exit status: 2