Skip to content

Commit

Permalink
you're not wrong, linter, but still annoying
Browse files Browse the repository at this point in the history
  • Loading branch information
mildwonkey committed Oct 30, 2024
1 parent 9a9c11f commit 0751c8f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test/e2e/api_validation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,8 @@ func TestApiValidation_templated(t *testing.T) {
dev.RunInteractively = false
svr := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Content-Type", "application/json")
w.Write([]byte(`{"pass": true}`))
_, err := w.Write([]byte(`{"pass": true}`))
require.NoError(t, err)
}))
defer svr.Close()

Expand Down

0 comments on commit 0751c8f

Please sign in to comment.