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
b1ba58f3
Commit
b1ba58f3
authored
Dec 13, 2013
by
antirez
Browse files
SDIFF iterator misuse bug regression test added.
See commit
c00453da
for more info about the bug.
parent
c00453da
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/unit/type/set.tcl
View file @
b1ba58f3
...
...
@@ -214,6 +214,12 @@ start_server {
r sdiff set1 set2 set3
}
{}
test
"SDIFF with same set two times"
{
r del set1
r sadd set1 a b c 1 2 3 4 5 6
r sdiff set1 set1
}
{}
test
"SDIFF fuzzing"
{
for
{
set j 0
}
{
$j
< 100
}
{
incr j
}
{
unset -nocomplain s
...
...
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