Skip to content

Commit e8c99db

Browse files
committed
chore: fix linting issues
1 parent 0097595 commit e8c99db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/agent/agent_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ func TestStopByCancelFn_UsedBySignalHandler(t *testing.T) {
541541
}
542542

543543
go func() {
544-
assert.NoError(t, agent.Run())
544+
require.NoError(t, agent.Run())
545545
wg.Done()
546546
}()
547547

@@ -626,7 +626,7 @@ func TestAgent_Run_DontSendInventoryIfFwdOnly(t *testing.T) {
626626
agent.inventories = map[string]*inventoryEntity{"test": {sender: snd}}
627627

628628
go func() {
629-
assert.NoError(t, agent.Run())
629+
require.NoError(t, agent.Run())
630630
wg.Done()
631631
}()
632632
wg.Wait()

0 commit comments

Comments
 (0)