all repos — telegram-bot-api @ 97ba9e12bf1de0043362910282546d167e9f74f5

Golang bindings for the Telegram Bot API

Fix help tests
Amir Khazaie 733amir@gmail.com
Mon, 15 Oct 2018 12:41:02 +0330
commit

97ba9e12bf1de0043362910282546d167e9f74f5

parent

b2addf5f91a4c2750c3f03aa22e1aab243e6db6d

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

jump to
M helpers_test.gohelpers_test.go

@@ -148,10 +148,9 @@ }

} func TestNewEditMessageCaption(t *testing.T) { - edit := tgbotapi.NewEditMessageCaption(ChatID, ReplyToMessageID, "new caption", tgbotapi.ModeHTML) + edit := tgbotapi.NewEditMessageCaption(ChatID, ReplyToMessageID, "new caption") if edit.Caption != "new caption" || - edit.ParseMode != tgbotapi.ModeHTML || edit.BaseEdit.ChatID != ChatID || edit.BaseEdit.MessageID != ReplyToMessageID { t.Fail()