mirror of
https://github.com/HDT3213/godis.git
synced 2025-10-06 09:17:10 +08:00
replication master side
This commit is contained in:
@@ -20,7 +20,7 @@ func TestPing(t *testing.T) {
|
||||
|
||||
func TestAuth(t *testing.T) {
|
||||
passwd := utils.RandString(10)
|
||||
c := &connection.FakeConn{}
|
||||
c := connection.NewFakeConn()
|
||||
ret := testServer.Exec(c, utils.ToCmdLine("AUTH"))
|
||||
asserts.AssertErrReply(t, ret, "ERR wrong number of arguments for 'auth' command")
|
||||
ret = testServer.Exec(c, utils.ToCmdLine("AUTH", passwd))
|
||||
|
Reference in New Issue
Block a user