projects
/
perl-Redis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d614f74
)
sort keys so we get predictible order for test
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 23 Mar 2009 09:22:30 +0000
(09:22 +0000)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 23 Mar 2009 09:22:30 +0000
(09:22 +0000)
git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@44
447b33ff
-793d-4489-8442-
9bea7d161be5
t/20-Redis-Hash.t
patch
|
blob
|
history
diff --git
a/t/20-Redis-Hash.t
b/t/20-Redis-Hash.t
index
687b85c
..
6a371ec
100755
(executable)
--- 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' );