From f8a3ac11b269886c17a6f11ca37b6daf54e2affc Mon Sep 17 00:00:00 2001 From: Gleb Sinyavsky Date: Sat, 21 Nov 2015 15:36:55 +0300 Subject: [PATCH] Small tests fix --- bot_test.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/bot_test.go b/bot_test.go index 67788b5..16354cf 100644 --- a/bot_test.go +++ b/bot_test.go @@ -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()