]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.1.1912: tests: test_plugin_comment fails v9.1.1912
authorChristian Brabandt <cb@256bit.org>
Wed, 12 Nov 2025 21:33:38 +0000 (21:33 +0000)
committerChristian Brabandt <cb@256bit.org>
Wed, 12 Nov 2025 21:34:52 +0000 (21:34 +0000)
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 <cb@256bit.org>
src/testdir/test_plugin_comment.vim
src/version.c

index 74a88f77eee2cc59d5589ae35642e92cb72c80fd..597a04d47da6d482d66795d245086e64099c5882 100644 (file)
@@ -58,7 +58,7 @@ func Test_backward_slash_uncomment()
   let input_file = "Test_backward_slash_uncomment_input.mom"
   call writefile(lines, input_file, "D")
 
-  let buf = RunVimInTerminal('-c "packadd comment" ' .. input_file, {})
+  let buf = RunVimInTerminal('-c "packadd comment" -c "set ft=nroff" ' .. input_file, {})
   call term_sendkeys(buf, "gcc")
   let output_file = "backward_slash_uncomment_test.mom"
   call term_sendkeys(buf, $":w {output_file}\<CR>")
index 5212d18888e571b4bfffe244687c8757a90ea251..99849aa8b08bed60e62b16c26caafd99f1e733b6 100644 (file)
@@ -729,6 +729,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1912,
 /**/
     1911,
 /**/