Skip to content

Commit

Permalink
Fix typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
creachadair committed Aug 21, 2021
1 parent 984241d commit 0e3133c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jhttp/channel.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"sync"
)

// A Channel implements an channel.Channel that dispatches requests via HTTP to
// A Channel implements a channel.Channel that dispatches requests via HTTP to
// a user-provided URL. Each message sent to the channel is an HTTP POST
// request with the message as its body.
type Channel struct {
Expand Down
2 changes: 1 addition & 1 deletion jhttp/jhttp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ func TestChannel(t *testing.T) {
t.Error("Send on a closed channel unexpectedly worked")
}
if got, err := ch.Recv(); err != io.EOF {
t.Errorf("Recv = (%#q, %v), want (nil, %v", string(got), err, io.EOF)
t.Errorf("Recv = (%#q, %v), want (nil, %v)", string(got), err, io.EOF)
}
}

Expand Down

0 comments on commit 0e3133c

Please sign in to comment.