From 01860f4554d3bba7c67c0c65e28023db4f90ca72 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Mon, 23 Mar 2009 09:22:30 +0000 Subject: [PATCH] sort keys so we get predictible order for test git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@44 447b33ff-793d-4489-8442-9bea7d161be5 --- t/20-Redis-Hash.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' ); -- 2.20.1