demerphq / Data-Dump-Streamer

Data::Dump::Streamer - DDS - Accurately serialize a data structure as Perl code.
http://search.cpan.org/dist/Data-Dump-Streamer/
3 stars 11 forks source link

This fixes the test failure about the JSON boolean class #9

Closed jeteve closed 10 years ago

jeteve commented 10 years ago

This fix works by dynamically adapting the failing test to whatever class the object JSON::XS::decode_json("true") is blessed into.

Please review.

J.

eserte commented 10 years ago

A duplicate of https://github.com/demerphq/Data-Dump-Streamer/pull/5 (although the fix is slightly different).

jeteve commented 10 years ago

Up to you :) I'll be happy tests pass both ways.