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
9fba193a
Commit
9fba193a
authored
Oct 31, 2013
by
antirez
Browse files
SSCAN with integer encoded object test improved.
parent
c4ca5f99
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/unit/scan.tcl
View file @
9fba193a
...
...
@@ -202,5 +202,7 @@ start_server {tags {"scan"}} {
r sadd set
{*}
$objects
set res
[
r sscan set 0 MATCH *a* COUNT 100
]
assert_equal
[
lsort -unique
[
lindex $res 1
]]
{
a
}
set res
[
r sscan set 0 MATCH *1* COUNT 100
]
assert_equal
[
lsort -unique
[
lindex $res 1
]]
{
1
}
}
}
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