all repos — telegram-bot-api @ 458a89724a5892eb5c41f7f1940c12072c617587

Golang bindings for the Telegram Bot API

Change assertion failure message

(cherry picked from commit 5c5e96de34ba4bcb0b1d1e9dd757559577c71e47)
Jiayu Yi yijiayu@gmail.com
Tue, 21 Jul 2020 16:37:08 +0800
commit

458a89724a5892eb5c41f7f1940c12072c617587

parent

c87d4110af3c1d054f4abfa9460efc8eec9a50a1

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M bot_test.gobot_test.go

@@ -502,7 +502,7 @@ if err != nil {

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("failed to set webhook: %s", info.LastErrorMessage)