Fix help tests

pull/183/head
Amir Khazaie 7 years ago
parent b2addf5f91
commit 97ba9e12bf
  1. 3
      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()