petdance/html-tidy5

Test failures that don't look like failures for tidy 5.6.0

Opened this issue · 0 comments

I get failures on 5.6.0 and the dev version 5.7.14:

t/cfg-for-parse.t .......... 1/3 
#   Failed test 'Matching errors'
#   at t/cfg-for-parse.t line 28.
#     Structures begin differing at:
#          $got->[0] = 'DATA (7:1) Error: <x> is not recognised!'
#     $expected->[0] = 'DATA (7:1) Error: <x> is not recognized!'
# Looks like you failed 1 test of 3.
t/cfg-for-parse.t .......... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/3 subtests 

t/ignore.t ................. 1/9 
#   Failed test 'Matching errors'
#   at t/ignore.t line 54.
#     Structures begin differing at:
#          $got->[0] = '- (23:1) Error: <bogotag> is not recognised!'
#     $expected->[0] = '- (23:1) Error: <bogotag> is not recognized!'
# Looks like you failed 1 test of 9.
t/ignore.t ................. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/9 subtests 

t/levels.t ................. 1/3 
#   Failed test 'Matching messages'
#   at t/levels.t line 30.
#     Structures begin differing at:
#          $got->[1] = '- (23:1) Error: <bogotag> is not recognised!'
#     $expected->[1] = '- (23:1) Error: <bogotag> is not recognized!'
# Looks like you failed 1 test of 3.
t/levels.t ................. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/3 subtests 

I'm wondering if that's an encoding issue, since those strings look like they should match.

Note this is for Perl v5.22.2