patch 9.1.1912: tests: test_plugin_comment fails
Commit:
https://github.com/vim/vim/commit/8cb4505ec6263bb197af667abb5f428069be0352
Author: Christian Brabandt <[email protected]>
Date: Wed Nov 12 21:33:38 2025 +0000
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]>
diff --git a/src/testdir/test_plugin_comment.vim
b/src/testdir/test_plugin_comment.vim
index 74a88f77e..597a04d47 100644
--- a/src/testdir/test_plugin_comment.vim
+++ b/src/testdir/test_plugin_comment.vim
@@ -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>")
diff --git a/src/version.c b/src/version.c
index 5212d1888..99849aa8b 100644
--- a/src/version.c
+++ b/src/version.c
@@ -729,6 +729,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1912,
/**/
1911,
/**/
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1vJWPX-001DU0-Kl%40256bit.org.