From 97ba9e12bf1de0043362910282546d167e9f74f5 Mon Sep 17 00:00:00 2001 From: Amir Khazaie <733amir@gmail.com> Date: Mon, 15 Oct 2018 12:41:02 +0330 Subject: [PATCH] Fix help tests --- helpers_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/helpers_test.go b/helpers_test.go index 6075612..9542f02 100644 --- a/helpers_test.go +++ b/helpers_test.go @@ -148,10 +148,9 @@ func TestNewEditMessageText(t *testing.T) { } 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()