From 76f08b854897ac33305081e65319c33759988e57 Mon Sep 17 00:00:00 2001 From: Diego Alvarez Date: Tue, 23 Jun 2020 09:47:24 -0700 Subject: [PATCH] use the third person singular present tense s/have/has --- async_producer_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/async_producer_test.go b/async_producer_test.go index 338ca3656..7b266a971 100644 --- a/async_producer_test.go +++ b/async_producer_test.go @@ -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)) @@ -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++