Change assertion failure message
parent
64517d16e7
commit
5c5e96de34
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue