Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
5c45ae1f
Commit
5c45ae1f
authored
Apr 18, 2012
by
antirez
Browse files
Test SDIFF with first set empty.
parent
7a2065ef
Changes
1
Show whitespace changes
Inline
Side-by-side
tests/unit/type/set.tcl
View file @
5c45ae1f
...
...
@@ -206,6 +206,13 @@ start_server {
}
}
test
"SDIFF with first set empty"
{
r del set1 set2 set3
r sadd set2 1 2 3 4
r sadd set3 a b c d
r sdiff set1 set2 set3
}
{}
test
"SINTER against non-set should throw error"
{
r set key1 x
assert_error
"ERR*wrong kind*"
{
r sinter key1 noset
}
...
...
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