Permalink
Browse files

Need sort keys for consistent result.

  • Loading branch information...
1 parent c056aea commit b8463a03c804b1823d469ab76ed3730507b41c22 @tokuhirom committed Nov 27, 2012
Showing with 2 additions and 0 deletions.
  1. +1 −0 Build.PL
  2. +1 −0 lib/Test/Difflet.pm
View
1 Build.PL
@@ -12,6 +12,7 @@ my $build = Module::Build->new(
},
configure_requires => { 'Module::Build' => '0.38' },
requires => {
+ perl => '5.008008',
# 'Exporter' => '0',
'parent' => '0',
# 'Plack' => '0.9949',
View
1 lib/Test/Difflet.pm
@@ -41,6 +41,7 @@ sub _eq_deeply {
my ($a, $b) = @_;
local $Data::Dumper::Terse = 1;
local $Data::Dumper::Indent = 0;
+ local $Data::Dumper::SortKeys = 1;
return Dumper($a) eq Dumper($b);
}

0 comments on commit b8463a0

Please sign in to comment.