Change assertion failure message

(cherry picked from commit 5c5e96de34)
bot-api-6.1
Jiayu Yi 2020-07-21 16:37:08 +08:00 committed by Syfaro
parent c87d4110af
commit 458a89724a
1 changed files with 1 additions and 1 deletions

View File

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