X-Git-Url: http://git.rot13.org//?a=blobdiff_plain;f=t%2F20-Redis-Hash.t;fp=t%2F20-Redis-Hash.t;h=6a371ecd73b4275d926ab61cfe7f1d66dc50aff5;hb=01860f4554d3bba7c67c0c65e28023db4f90ca72;hp=687b85c1ee28631d5a3bfbf515b3264664eb5f5f;hpb=d614f74a89501c756b5e6a240995c0aa0295573b;p=perl-Redis.git diff --git a/t/20-Redis-Hash.t b/t/20-Redis-Hash.t index 687b85c..6a371ec 100755 --- a/t/20-Redis-Hash.t +++ b/t/20-Redis-Hash.t @@ -21,7 +21,7 @@ ok( ! keys %h, 'empty' ); ok( %h = ( 'foo' => 42, 'bar' => 1, 'baz' => 99 ), '=' ); -is_deeply( [ keys %h ], [ 'bar', 'baz', 'foo' ], 'keys' ); +is_deeply( [ sort keys %h ], [ 'bar', 'baz', 'foo' ], 'keys' ); is_deeply( \%h, { bar => 1, baz => 99, foo => 42, }, 'structure' );