Subject: | Test fails on Windows Strawberry Perl |
You may want to port the commit https://github.com/kraih/mojo/commit/caa1af3e2b86280f20c09d271c8cd0e95f3a83c4 from Mojolicious, which changes the inf and nan tests to not actually care about the representation. On this platform, the values are dumb (imo).
# Failed test 'encode "inf"'
# at t/20-mojo-json.t line 322.
# got: '{"test":"1.#INF"}'
# expected: '{"test":"inf"}'
# Failed test 'encode "nan"'
# at t/20-mojo-json.t line 323.
# got: '{"test":"-1.#IND"}'
# expected: '{"test":"nan"}'
# Looks like you failed 2 tests of 130.
t/20-mojo-json.t .....
Dubious, test returned 2 (wstat 512, 0x200)