Subject: | Unexpected warnings |
The test suite fails on some of my smokers systems:
...
Subroutine JSON::PP::Boolean::(-- redefined at /usr/share/perl5/overload.pm line 49.
Subroutine JSON::PP::Boolean::(++ redefined at /usr/share/perl5/overload.pm line 49.
Subroutine JSON::PP::Boolean::(0+ redefined at /usr/share/perl5/overload.pm line 49.
# Failed test 'no (unexpected) warnings (via done_testing)'
# at t/conditional_deserialization.t line 95.
# Looks like you failed 1 test of 7.
t/conditional_deserialization.t ..
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/7 subtests
...
On some systems there are different warnings:
...
WWW::Form::UrlEncoded::XS 0.25 is require. fallback to PP version at /usr/perl5.22.0p/lib/site_perl/5.22.0/amd64-freebsd/WWW/Form/UrlEncoded.pm line 17.
# Failed test 'no (unexpected) warnings (via done_testing)'
# at t/conditional_deserialization.t line 95.
# Looks like you failed 1 test of 7.
t/conditional_deserialization.t ..
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/7 subtests
...
(Probably this one happens if WWW::Form::UrlEncoded and WWW::Form::UrlEncoded::XS are not in sync, which isn't enforced by these modules, unfortunately)