Skip to content

Commit

Permalink
home: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
schzhn committed Jan 11, 2024
1 parent 5932b18 commit 8031347
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/home/client_internal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 8031347

Please sign in to comment.