Skip to content

Commit

Permalink
use the third person singular present tense
Browse files Browse the repository at this point in the history
s/have/has
  • Loading branch information
d1egoaz committed Jun 29, 2020
1 parent 2beebdf commit 76f08b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions async_producer_test.go
Expand Up @@ -1237,7 +1237,7 @@ type appendInterceptor struct {

func (b *appendInterceptor) onSend(msg *ProducerMessage) {
if b.i < 0 {
panic("hey, the interceptor have failed")
panic("hey, the interceptor has failed")
}
v, _ := msg.Value.Encode()
msg.Value = StringEncoder(string(v) + strconv.Itoa(b.i))
Expand All @@ -1246,7 +1246,7 @@ func (b *appendInterceptor) onSend(msg *ProducerMessage) {

func (b *appendInterceptor) onConsume(msg *ConsumerMessage) {
if b.i < 0 {
panic("hey, the interceptor have failed")
panic("hey, the interceptor has failed")
}
msg.Value = []byte(string(msg.Value) + strconv.Itoa(b.i))
b.i++
Expand Down

0 comments on commit 76f08b8

Please sign in to comment.