Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
krzysztofdrys committed Jun 19, 2024
1 parent 5e79531 commit 5d515df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e-tests/pass/ws.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func proxyWebSocket(url, token string, writeMsg, expectedReadMsg string, sleepBe
defer close(doneReading)
_, message, err := conn.ReadMessage()
if err != nil {
doneReading <- fmt.Errorf("faile to read message: %w", err)
doneReading <- fmt.Errorf("failed to read message: %w", err)
}
if string(message) != expectedReadMsg {
doneReading <- fmt.Errorf("expected to read %q, read %q", expectedReadMsg, string(message))
Expand Down

0 comments on commit 5d515df

Please sign in to comment.