Skip to content

Commit

Permalink
chore: staticcheck fix
Browse files Browse the repository at this point in the history
  • Loading branch information
smrz2001 committed Jul 15, 2023
1 parent 5de44d7 commit f5d1073
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions node/basicnode/map_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ func TestMapAmendingBuilderNewNode(t *testing.T) {
qt.Assert(t, actual, qt.Equals, expect)

// Should not find "cat"
r, err = amender.Get("cat")
_, err = amender.Get("cat")
if _, notFoundErr := err.(datamodel.ErrNotExists); !notFoundErr {
t.Fatal(err)
}
Expand Down Expand Up @@ -542,7 +542,7 @@ func TestMapAmendingBuilderExistingNode(t *testing.T) {
qt.Assert(t, actual, qt.Equals, expect)

// Should not find "cat"
r, err = amender.Get("cat")
_, err = amender.Get("cat")
if _, notFoundErr := err.(datamodel.ErrNotExists); !notFoundErr {
t.Fatal(err)
}
Expand Down

0 comments on commit f5d1073

Please sign in to comment.