Don't rely on hash key order in tests (RT#81695)
[gitmo/MooseX-Storage.git] / t / 105_io_atomic_w_utf8.t
index fd584c2..bbf8020 100644 (file)
@@ -4,7 +4,7 @@ use strict;
 use warnings;
 
 use Test::More;
-use Test::TempDir;
+use File::Temp qw(tempdir);
 use File::Spec::Functions;
 my $dir = tempdir;
 
@@ -21,7 +21,7 @@ BEGIN {
     # - SL 
     BEGIN {
         $ENV{JSON_ANY_ORDER}  = qw(XS);
-        $ENV{JSON_ANY_CONFIG} = "utf8=1";        
+        $ENV{JSON_ANY_CONFIG} = "utf8=0,canonical=1";
     }
     plan tests => 8;
     use_ok('MooseX::Storage');