Subject: | Tests fail if JSON::XS is installed (v1.0.3, V1.0.4) |
It seems that JSON::PP and JSON::XS have different error messages. With JSON::XS installed, I get the following error:
# Failed test 'Bad JSON sets proper errstr'
# at t/core.t line 38.
# got: 'malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "blahblah{"")'
# expected: 'malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "blahblah{"")'
# Looks like you failed 1 test of 24.
t/core.t ......
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/24 subtests
t/requests.t .. ok
If JSON::XS is hidden, then the test suite passes.