Change assertion failure message
Jiayu Yi yijiayu@gmail.com
Tue, 21 Jul 2020 16:37:08 +0800
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
bot_test.go
→
bot_test.go
@@ -498,7 +498,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("[Telegram callback failed]%s", info.LastErrorMessage)