Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Dancer-Plugin-REST CPAN distribution.

Report information
The Basics
Id: 65962
Status: resolved
Priority: 0/
Queue: Dancer-Plugin-REST

People
Owner: Nobody in particular
Requestors: ANDK [...] cpan.org
Cc:
AdminCc:

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



Subject: Fails with Dancer > 1.3001
Dancer 1.3002 seems to have changed the default JSON format to "indent". So your tests fail with recent Dancer versions. Example fail report: http://www.cpantesters.org/cpan/report/10630942 When I downgraded to Dancer 1.3001 the test passed again. HTH,
I just installed Dancer on 1.3011 and got the same error when installing Dancer::Plugin::REST. cpan[6]> install Dancer::Plugin::REST Running install for module 'Dancer::Plugin::REST' Running make for S/SU/SUKRIA/Dancer-Plugin-REST-0.04.tar.gz Has already been unwrapped into directory /home/atobey/.cpan/build/Dancer-Plugin-REST-0.04-8f37wX Has already been made Running make test PERL_DL_NONLAZY=1 /usr/bin/perl5.12.1 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/01_base.t t/02_prepare_serializer_for_format.t t/03_resource.t t/04_plugin_settings.t t/01_base.t ........................... ok t/02_prepare_serializer_for_format.t .. 1/8 # Failed test '$data has been encoded' # at t/02_prepare_serializer_for_format.t line 62. # got: '{ # "foo" : 42 # } # ' # expected: '{"foo":42}' # Looks like you failed 1 test of 8. t/02_prepare_serializer_for_format.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/8 subtests t/03_resource.t ....................... ok t/04_plugin_settings.t ................ ok Test Summary Report ------------------- t/02_prepare_serializer_for_format.t (Wstat: 256 Tests: 8 Failed: 1) Failed test: 4 Non-zero exit status: 1 Files=4, Tests=22, 1 wallclock secs ( 0.04 usr 0.05 sys + 0.84 cusr 0.14 csys = 1.07 CPU) Result: FAIL Failed 1/4 test programs. 1/22 subtests failed. make: *** [test_dynamic] Error 255 SUKRIA/Dancer-Plugin-REST-0.04.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports SUKRIA/Dancer-Plugin-REST-0.04.tar.gz Running make install make test had returned bad status, won't install without force Failed during this command: SUKRIA/Dancer-Plugin-REST-0.04.tar.gz : make_test NO
It appears as though this was resolved.