@@ -16,9 +16,11 @@ func TestSet(t *testing.T) {
1616 c .DoSorted ("SMEMBERS" , "nosuch" )
1717 c .Do ("SISMEMBER" , "s" , "aap" )
1818 c .Do ("SISMEMBER" , "s" , "nosuch" )
19+ c .Do ("SMISMEMBER" , "s" , "aap" , "noot" , "nosuch" )
1920
2021 c .Do ("SCARD" , "nosuch" )
2122 c .Do ("SISMEMBER" , "nosuch" , "nosuch" )
23+ c .Do ("SMISMEMBER" , "nosuch" , "nosuch" , "nosuch" )
2224
2325 // failure cases
2426 c .Error ("wrong number" , "SADD" )
@@ -30,11 +32,14 @@ func TestSet(t *testing.T) {
3032 c .Error ("wrong number" , "SISMEMBER" )
3133 c .Error ("wrong number" , "SISMEMBER" , "few" )
3234 c .Error ("wrong number" , "SISMEMBER" , "too" , "many" , "arguments" )
35+ c .Error ("wrong number" , "SMISMEMBER" )
36+ c .Error ("wrong number" , "SMISMEMBER" , "few" )
3337 // Wrong type
3438 c .Do ("SET" , "str" , "I am a string" )
3539 c .Error ("wrong kind" , "SADD" , "str" , "noot" , "mies" )
3640 c .Error ("wrong kind" , "SMEMBERS" , "str" )
3741 c .Error ("wrong kind" , "SISMEMBER" , "str" , "noot" )
42+ c .Error ("wrong kind" , "SMISMEMBER" , "str" , "noot" )
3843 c .Error ("wrong kind" , "SCARD" , "str" )
3944 })
4045
@@ -44,6 +49,7 @@ func TestSet(t *testing.T) {
4449 c .Do ("SMEMBERS" , "q" )
4550 c .Do ("SISMEMBER" , "q" , "aap" )
4651 c .Do ("SISMEMBER" , "q" , "noot" )
52+ c .Do ("SMISMEMBER" , "q" , "aap" , "noot" , "nosuch" )
4753 })
4854}
4955
0 commit comments