Small tests fix
Gleb Sinyavsky zhulik.gleb@gmail.com
Sat, 21 Nov 2015 15:36:55 +0300
1 files changed,
1 insertions(+),
4 deletions(-)
jump to
M
bot_test.go
→
bot_test.go
@@ -49,7 +49,6 @@
_, err := bot.GetUpdates(u) if err != nil { - t.Log(err.Error()) t.Fail() } }@@ -274,9 +273,7 @@ bot, _ := getBot(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()