Skip Menu |

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

Report information
The Basics
Id: 129098
Status: resolved
Priority: 0/
Queue: JSON-Schema-Fit

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

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Test failures with -Duselongdouble perls (0.04)
If perl is compiled with increased floating point accuracy (i.e. using -Duselongdouble), then the test suite fails: ... # Failed test '{"type":"number","multipleOf":0.01}' # at t/get_adjusted.t line 56. # Ran coderef at $data on # # '0.67' # it failed but it didn't say why. # Looks like you failed 1 test of 13. t/get_adjusted.t ......... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/13 subtests # Failed test 'default' # at t/partial.t line 71. # Ran coderef at $data->{"cc"} on # # '33.33' # it failed but it didn't say why. # Failed test 'full' # at t/partial.t line 71. # Ran coderef at $data->{"cc"} on # # '33.33' # it failed but it didn't say why. # Failed test 'no_booleans' # at t/partial.t line 71. # Ran coderef at $data->{"cc"} on # # '33.33' # it failed but it didn't say why. # Failed test 'no_strings' # at t/partial.t line 71. # Ran coderef at $data->{"cc"} on # # '33.33' # it failed but it didn't say why. # Failed test 'no_hash_keys' # at t/partial.t line 71. # Ran coderef at $data->{"cc"} on # # '33.33' # it failed but it didn't say why. # Failed test 'with_clamp_numbers' # at t/partial.t line 71. # Ran coderef at $data->{"cc"} on # # '33.33' # it failed but it didn't say why. # Looks like you failed 6 tests of 9. t/partial.t .............. Dubious, test returned 6 (wstat 1536, 0x600) Failed 6/9 subtests ...
changed to fuzzy comparsion Show quoted text
> # Failed test '{"type":"number","multipleOf":0.01}' > # at t/get_adjusted.t line 56. > # Ran coderef at $data on > # > # '0.67' > # it failed but it didn't say why.