Skip to content

Commit

Permalink
Add missing assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
ycombinator committed Nov 3, 2023
1 parent d54cd54 commit 749d5ae
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ func TestFleetGateway(t *testing.T) {
waitFn := ackSeq(
client.Answer(func(headers http.Header, body io.Reader) (*http.Response, error) {
data, err := io.ReadAll(body)
require.NoError(t, err)

var checkinRequest fleetapi.CheckinRequest
err = json.Unmarshal(data, &checkinRequest)
Expand Down

0 comments on commit 749d5ae

Please sign in to comment.