Skip to content

Commit

Permalink
onmesage->onmessage in test
Browse files Browse the repository at this point in the history
  • Loading branch information
mstoykov committed Apr 4, 2023
1 parent a1430bc commit 297ff14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion websockets/websockets_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -952,7 +952,7 @@ func TestSystemTags(t *testing.T) {
ws.onopen = () => {
ws.send("test")
}
ws.onmesage = (data) => {
ws.onmessage = (data) => {
if (!data=="test") {
throw new Error ("echo'd data doesn't match our message!");
}
Expand Down

0 comments on commit 297ff14

Please sign in to comment.