mirror of
https://github.com/HDT3213/godis.git
synced 2025-10-05 16:57:06 +08:00
Add info command
This commit is contained in:
@@ -46,6 +46,10 @@ func TestInfo(t *testing.T) {
|
||||
asserts.AssertNotError(t, ret)
|
||||
ret = testServer.Exec(c, utils.ToCmdLine("INFO", "server"))
|
||||
asserts.AssertNotError(t, ret)
|
||||
ret = testServer.Exec(c, utils.ToCmdLine("INFO", "client"))
|
||||
asserts.AssertNotError(t, ret)
|
||||
ret = testServer.Exec(c, utils.ToCmdLine("INFO", "cluster"))
|
||||
asserts.AssertNotError(t, ret)
|
||||
ret = testServer.Exec(c, utils.ToCmdLine("iNFO", "SeRvEr"))
|
||||
asserts.AssertNotError(t, ret)
|
||||
ret = testServer.Exec(c, utils.ToCmdLine("iNFO", "abc", "bde"))
|
||||
|
Reference in New Issue
Block a user