Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
efc5d4cc
Commit
efc5d4cc
authored
Sep 07, 2010
by
Pieter Noordhuis
Browse files
Fix test that sometimes returned the swapped object instead of encoding
parent
106bd87a
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/unit/type/hash.tcl
View file @
efc5d4cc
...
@@ -15,8 +15,8 @@ start_server {tags {"hash"}} {
...
@@ -15,8 +15,8 @@ start_server {tags {"hash"}} {
}
{
8
}
}
{
8
}
test
{
Is the small hash encoded with a zipmap?
}
{
test
{
Is the small hash encoded with a zipmap?
}
{
r debug object
smallhash
assert_encoding zipmap
smallhash
}
{
*zipmap*
}
}
test
{
HSET/HLEN - Big hash creation
}
{
test
{
HSET/HLEN - Big hash creation
}
{
array set bighash
{}
array set bighash
{}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment