Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the JSON-API CPAN distribution.

Report information
The Basics
Id: 101752
Status: resolved
Priority: 0/
Queue: JSON-API

People
Owner: GFRANKS [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in:
  • v1.0.3
  • v1.0.4
Fixed in: v1.0.6



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.
Sorry about that. This was fixed in 1.0.6, and should be available as of last night/this morning.