RT##69811
* Create a JSON::Any object, so setting $ENV{JSON_ANY_CONFIG} works.
Adjust tests that were setting the wrong values and the default happened to work.
+ * Don't rely on hash key order in tests (RT#81695)
0.31
* Add example for add_custom_type_handler to the MooseX::Storage::Engine docs. (perigrin)
# - SL
BEGIN {
$ENV{JSON_ANY_ORDER} = qw(XS);
- $ENV{JSON_ANY_CONFIG} = "utf8=0";
+ $ENV{JSON_ANY_CONFIG} = "utf8=0,canonical=1";
}
plan tests => 16;
# - SL
BEGIN {
$ENV{JSON_ANY_ORDER} = qw(XS);
- $ENV{JSON_ANY_CONFIG} = "utf8=0";
+ $ENV{JSON_ANY_CONFIG} = "utf8=0,canonical=1";
}
plan tests => 8;
use_ok('MooseX::Storage');
# - SL
BEGIN {
$ENV{JSON_ANY_ORDER} = qw(XS);
- $ENV{JSON_ANY_CONFIG} = "utf8=0";
+ $ENV{JSON_ANY_CONFIG} = "utf8=0,canonical=1";
}
plan tests => 8;
use_ok('MooseX::Storage');