mirror of
https://github.com/HDT3213/godis.git
synced 2025-10-05 08:46:56 +08:00
bugfix: execCommand
This commit is contained in:
@@ -16,5 +16,5 @@ func TestCommandInfo(t *testing.T) {
|
||||
ret = testServer.Exec(c, utils.ToCmdLine("command", "getkeys", "mset", "a", "a", "b", "b"))
|
||||
asserts.AssertMultiBulkReply(t, ret, []string{"a", "b"})
|
||||
ret = testServer.Exec(c, utils.ToCmdLine("command", "foobar"))
|
||||
asserts.AssertErrReply(t, ret, "Unknown subcommand or wrong number of arguments for 'foobar'")
|
||||
asserts.AssertErrReply(t, ret, "Unknown subcommand 'foobar'")
|
||||
}
|
||||
|
Reference in New Issue
Block a user