Skip to content

Commit

Permalink
Update internal/server/http/handler_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Joan López de la Franca Beltran <[email protected]>
  • Loading branch information
deerbone and joanlopez authored Oct 29, 2024
1 parent 8926a98 commit 2f9a63a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/server/http/handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ func TestImposterHandlerTemplating(t *testing.T) {
Headers: &headers,
}

f, _ := os.Open(bodyFile)
f, err := os.Open(bodyFile)
require.NoError(t, err)
defer f.Close()

expectedBody := `{
Expand Down

0 comments on commit 2f9a63a

Please sign in to comment.