From 5c5e96de34ba4bcb0b1d1e9dd757559577c71e47 Mon Sep 17 00:00:00 2001 From: Jiayu Yi Date: Tue, 21 Jul 2020 16:37:08 +0800 Subject: [PATCH] Change assertion failure message --- bot_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot_test.go b/bot_test.go index b00ea41..8e5cf63 100644 --- a/bot_test.go +++ b/bot_test.go @@ -498,7 +498,7 @@ func TestSetWebhookWithoutCert(t *testing.T) { t.Error(err) } if info.MaxConnections == 0 { - t.Errorf("wanted max connections to be greater than 0") + t.Errorf("Expected maximum connections to be greater than 0") } if info.LastErrorDate != 0 { t.Errorf("[Telegram callback failed]%s", info.LastErrorMessage)