From 0c1547fcc89e58dd5890e4ed3f2ce7ac5445531e Mon Sep 17 00:00:00 2001 From: devleejb Date: Tue, 9 Jan 2024 11:12:05 +0900 Subject: [PATCH] Fix lint errors --- test/integration/housekeeping_test.go | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/test/integration/housekeeping_test.go b/test/integration/housekeeping_test.go index 7d0ef7086..723eb4da2 100644 --- a/test/integration/housekeeping_test.go +++ b/test/integration/housekeeping_test.go @@ -26,6 +26,10 @@ import ( "sort" "testing" + gotime "time" + + monkey "github.com/undefinedlabs/go-mpatch" + "github.com/stretchr/testify/assert" "github.com/yorkie-team/yorkie/api/types" "github.com/yorkie-team/yorkie/server/backend/database" @@ -83,13 +87,13 @@ func TestHousekeeping(t *testing.T) { log.Fatal(err) } - clients := activeClients(t, 1) - c3 := clients[0] - defer deactivateAndCloseClients(t, clients) + clients2 := activeClients(t, 1) + c3 := clients2[0] + defer deactivateAndCloseClients(t, clients2) - assert.Eqaul(t, c1.IsActive(), false) - assert.Eqaul(t, c2.IsActive(), false) - assert.Eqaul(t, c3.IsActive(), true) + assert.Equal(t, c1.IsActive(), false) + assert.Equal(t, c2.IsActive(), false) + assert.Equal(t, c3.IsActive(), true) }) t.Run("`FindDeactivateCandidates` should return correct last projectID", func(t *testing.T) {