Fix help tests
Amir Khazaie 733amir@gmail.com
Mon, 15 Oct 2018 12:41:02 +0330
1 files changed,
1 insertions(+),
2 deletions(-)
jump to
M
helpers_test.go
→
helpers_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()