Small tests fix

bot-api-6.1
Gleb Sinyavsky 2015-11-21 15:36:55 +03:00
parent 653939995c
commit f8a3ac11b2
1 changed files with 1 additions and 4 deletions

View File

@ -49,7 +49,6 @@ func TestGetUpdates(t *testing.T) {
_, err := bot.GetUpdates(u)
if err != nil {
t.Log(err.Error())
t.Fail()
}
}
@ -274,9 +273,7 @@ func TestSendWithNewSticker(t *testing.T) {
msg := tgbotapi.NewStickerUpload(ChatID, "tests/image.jpg")
resp, err := bot.Send(msg)
t.Log(resp)
_, err := bot.Send(msg)
if err != nil {
t.Fail()