Change assertion failure message

(cherry picked from commit 5c5e96de34)
This commit is contained in:
Jiayu Yi 2020-07-21 16:37:08 +08:00 committed by Syfaro
parent c87d4110af
commit 458a89724a

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)