Skip to content

Commit

Permalink
autobahn,wsutil: fix typos in comments and logs
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandear authored and cristaloleg committed May 18, 2023
1 parent c000e81 commit b299ae9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ test:
go test -coverprofile=ws.coverage .
go test -coverprofile=wsutil.coverage ./wsutil
go test -coverprofile=wsfalte.coverage ./wsflate
# No statemenets to cover in ./tests (there are only tests).
# No statements to cover in ./tests (there are only tests).
go test ./tests

cover: bin/gocovmerge test autobahn
Expand Down
2 changes: 1 addition & 1 deletion autobahn/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ func min(a, b int) int {
func handlerIndex() func(w http.ResponseWriter, r *http.Request) {
return func(w http.ResponseWriter, r *http.Request) {
if *verbose {
log.Printf("reqeust to %s", r.URL)
log.Printf("request to %s", r.URL)
}
if r.URL.Path != "/" {
w.WriteHeader(http.StatusNotFound)
Expand Down
2 changes: 1 addition & 1 deletion wsutil/handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func TestControlHandler(t *testing.T) {
},
{
name: "pong",
in: ws.NewPongFrame([]byte("catched")),
in: ws.NewPongFrame([]byte("caught")),
noOut: true,
},
{
Expand Down

0 comments on commit b299ae9

Please sign in to comment.