Skip to content

Commit 5e8e217

Browse files
committed
fix tests
doh
1 parent 24f7c9b commit 5e8e217

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd_set_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,7 @@ func TestSintercard(t *testing.T) {
726726
mustDo(
727727
t, c,
728728
"SINTERCARD", "two", "key1", "key2",
729-
proto.Error(msgInvalidInt),
729+
proto.Error("ERR numkeys should be greater than 0"),
730730
)
731731
})
732732

@@ -758,7 +758,7 @@ func TestSintercard(t *testing.T) {
758758
mustDo(
759759
t, c,
760760
"SINTERCARD", "4", "key1", "key2", "key3",
761-
proto.Error(msgSyntaxError),
761+
proto.Error("ERR Number of keys can't be greater than number of args"),
762762
)
763763
})
764764

0 commit comments

Comments
 (0)