Skip to content

Commit

Permalink
Fixes linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
seans3 committed Sep 19, 2024
1 parent 72d9d69 commit 08bf960
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ func TestWebSocketRoundTripper_RoundTripperFails(t *testing.T) {
// Create fake WebSocket server.
websocketServer := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) {
w.WriteHeader(http.StatusForbidden)
w.Write([]byte(errorMsg))
_, err := w.Write([]byte(errorMsg))
require.NoError(t, err)
}))
defer websocketServer.Close()

Expand Down

0 comments on commit 08bf960

Please sign in to comment.