From 8031347b8613cc49a80968e162dd198851eafe7c Mon Sep 17 00:00:00 2001 From: Stanislav Chzhen Date: Thu, 11 Jan 2024 18:46:20 +0300 Subject: [PATCH] home: fix typo --- internal/home/client_internal_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/home/client_internal_test.go b/internal/home/client_internal_test.go index bf2219e71ae..937636d5ae4 100644 --- a/internal/home/client_internal_test.go +++ b/internal/home/client_internal_test.go @@ -19,7 +19,7 @@ func TestPersistentClient_EqualIDs(t *testing.T) { mac = "00-00-00-00-00-00" mac1 = "11-11-11-11-11-11" - mac2 = "22-20-22-22-22-22" + mac2 = "22-22-22-22-22-22" cli = "client0" cli1 = "client1" @@ -112,11 +112,11 @@ func TestPersistentClient_EqualIDs(t *testing.T) { t.Run(tc.name, func(t *testing.T) { c := &persistentClient{} err := c.setIDs(tc.ids) - require.Nil(t, err) + require.NoError(t, err) prev := &persistentClient{} err = prev.setIDs(tc.prevIDs) - require.Nil(t, err) + require.NoError(t, err) equal := c.equalIDs(prev) assert.Equal(t, tc.want, equal)