all repos — telegram-bot-api @ f8a3ac11b269886c17a6f11ca37b6daf54e2affc

Golang bindings for the Telegram Bot API

Small tests fix
Gleb Sinyavsky zhulik.gleb@gmail.com
Sat, 21 Nov 2015 15:36:55 +0300
commit

f8a3ac11b269886c17a6f11ca37b6daf54e2affc

parent

653939995c6ca92d40a9aa0cdad74378c598dd67

1 files changed, 1 insertions(+), 4 deletions(-)

jump to
M bot_test.gobot_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()