Skip to content

Commit

Permalink
Fix missing error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
Peltoche committed Oct 1, 2018
1 parent 62df4fe commit 263c1f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion analyzer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,8 @@ func Test_Analyzer_Analyze_with_formData_file(t *testing.T) {
_, err = fileWriter.Write([]byte("some-data"))
require.NoError(t, err)

mp.Close()
err = mp.Close()
require.NoError(t, err)

req, err := http.NewRequest("POST", "/pet/32/uploadImage", &buf)
require.NoError(t, err)
Expand Down

0 comments on commit 263c1f6

Please sign in to comment.