Skip to content

Commit 97ba9e1

Browse files
committed
Fix help tests
1 parent b2addf5 commit 97ba9e1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

helpers_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,10 +148,9 @@ func TestNewEditMessageText(t *testing.T) {
148148
}
149149

150150
func TestNewEditMessageCaption(t *testing.T) {
151-
edit := tgbotapi.NewEditMessageCaption(ChatID, ReplyToMessageID, "new caption", tgbotapi.ModeHTML)
151+
edit := tgbotapi.NewEditMessageCaption(ChatID, ReplyToMessageID, "new caption")
152152

153153
if edit.Caption != "new caption" ||
154-
edit.ParseMode != tgbotapi.ModeHTML ||
155154
edit.BaseEdit.ChatID != ChatID ||
156155
edit.BaseEdit.MessageID != ReplyToMessageID {
157156
t.Fail()

0 commit comments

Comments
 (0)