Skip to content

Commit 8cb4505

Browse files
committed
patch 9.1.1912: tests: test_plugin_comment fails
Problem: tests: test_plugin_comment fails, because it depends on nroff filetype for .mom file (after v9.1.1909) Solution: Explicitly set filetype to nroff Signed-off-by: Christian Brabandt <[email protected]>
1 parent c44e5ae commit 8cb4505

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/testdir/test_plugin_comment.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ func Test_backward_slash_uncomment()
5858
let input_file = "Test_backward_slash_uncomment_input.mom"
5959
call writefile(lines, input_file, "D")
6060

61-
let buf = RunVimInTerminal('-c "packadd comment" ' .. input_file, {})
61+
let buf = RunVimInTerminal('-c "packadd comment" -c "set ft=nroff" ' .. input_file, {})
6262
call term_sendkeys(buf, "gcc")
6363
let output_file = "backward_slash_uncomment_test.mom"
6464
call term_sendkeys(buf, $":w {output_file}\<CR>")

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -729,6 +729,8 @@ static char *(features[]) =
729729

730730
static int included_patches[] =
731731
{ /* Add new patch number below this line */
732+
/**/
733+
1912,
732734
/**/
733735
1911,
734736
/**/

0 commit comments

Comments
 (0)