Change assertion failure message

bot-api-6.1
Jiayu Yi 2020-07-21 16:37:08 +08:00
parent 64517d16e7
commit 5c5e96de34
1 changed files with 1 additions and 1 deletions

View File

@ -498,7 +498,7 @@ func TestSetWebhookWithoutCert(t *testing.T) {
t.Error(err) t.Error(err)
} }
if info.MaxConnections == 0 { 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 { if info.LastErrorDate != 0 {
t.Errorf("[Telegram callback failed]%s", info.LastErrorMessage) t.Errorf("[Telegram callback failed]%s", info.LastErrorMessage)