Skip to content

Commit

Permalink
use assert.NoError to handle linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
yutaroyamanaka committed Oct 16, 2023
1 parent 611b2bd commit 0b23711
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/resmap/reswrangler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,7 @@ func TestAbsorbAll(t *testing.T) {
assert.NoError(t, w.AbsorbAll(w2))
expected = makeMap2(types.BehaviorUnspecified)
expected.RemoveBuildAnnotations()
expected.AnnotateAll(utils.BuildAnnotationsGenAddHashSuffix, "enabled")
assert.NoError(t, expected.AnnotateAll(utils.BuildAnnotationsGenAddHashSuffix, "enabled"))
assert.NoError(t, w.ErrorIfNotEqualLists(expected))
}

Expand Down

0 comments on commit 0b23711

Please sign in to comment.