Skip to content

Commit

Permalink
assert.NoError in TestReportCustomCapabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
andykellr committed Feb 27, 2024
1 parent ade0bd8 commit 3c0e465
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions client/clientimpl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1604,7 +1604,8 @@ func TestReportCustomCapabilities(t *testing.T) {

// Client --->
// Send a custom message to the server
_, _ = client.SendCustomMessage(clientEchoRequest)
_, err := client.SendCustomMessage(clientEchoRequest)
assert.NoError(t, err)

// ---> Server
srv.Expect(func(msg *protobufs.AgentToServer) *protobufs.ServerToAgent {
Expand Down Expand Up @@ -1648,7 +1649,7 @@ func TestReportCustomCapabilities(t *testing.T) {
srv.Close()

// Shutdown the client.
err := client.Stop(context.Background())
err = client.Stop(context.Background())
assert.NoError(t, err)
})
}
Expand Down

0 comments on commit 3c0e465

Please sign in to comment.