Skip to content

Commit 41bd2d9

Browse files
architm21rickymoorhouse
authored andcommitted
fix: error printing is not required as failure in assertions will print the error
Signed-off-by: architm21 <[email protected]>
1 parent 124bc98 commit 41bd2d9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

nets/manager/manager_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,6 @@ func TestFindAPIM(t *testing.T) {
155155
invokeAPI = MockInvokeAPI
156156
getToken = MockGetToken
157157
err := m.findAPIM()
158-
if err != nil {
159-
t.Error("expected error to be nil but got %v", err)
160-
}
161158
assert.Empty(err)
162159

163160
assert.Empty("full")

0 commit comments

Comments
 (0)