Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
joshraphael committed Aug 13, 2024
1 parent ad3481b commit 939fbc6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion client/user_profile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,10 @@ func TestGetUserProfile(tt *testing.T) {
require.NoError(t, err)
errBytes, err := json.Marshal(test.responseError)
require.NoError(t, err)
w.Write(test.response(profileBytes, errBytes))
resp := test.response(profileBytes, errBytes)
num, err := w.Write(resp)
require.NoError(t, err)
require.Equal(t, num, len(resp))
}))
defer server.Close()

Expand Down

0 comments on commit 939fbc6

Please sign in to comment.