patch 9.2.0120: tests: test_normal fails
Commit:
https://github.com/vim/vim/commit/123a1e64106ea74a50d9428b465a604cae4c104f
Author: Christian Brabandt <[email protected]>
Date: Sun Mar 8 19:33:01 2026 +0000
patch 9.2.0120: tests: test_normal fails
Problem: tests: test_normal fails
Solution: Ensure the terminal width is 40 columns and also
check for existence of the tr.mo file
closes: #19608
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/src/testdir/test_normal.vim b/src/testdir/test_normal.vim
index f41ae0552..20adb24b1 100644
--- a/src/testdir/test_normal.vim
+++ b/src/testdir/test_normal.vim
@@ -4389,6 +4389,9 @@ func Test_pos_percentage_in_turkish_locale()
CheckRunVimInTerminal
CheckNotMac
defer execute(':lang C')
+ if !filereadable('../po/tr.mo')
+ throw 'Skipped: tr.mo not built, run make in src/po first'
+ endif
try
let dir = expand('$VIMRUNTIME/lang/tr/')
@@ -4398,7 +4401,7 @@ func Test_pos_percentage_in_turkish_locale()
call mkdir(target, '')
call filecopy(tr, target .. 'vim.mo')
lang tr_TR.UTF-8
- let buf = RunVimInTerminal('', {'rows': 5})
+ let buf = RunVimInTerminal('', {'rows': 5, 'cols': 40})
call term_sendkeys(buf, ":lang tr_TR.UTF-8\<cr>")
call term_sendkeys(buf, ":put =range(1,40)\<cr>")
call term_sendkeys(buf, ":5\<cr>")
diff --git a/src/version.c b/src/version.c
index 1135e03cc..5fd399c97 100644
--- a/src/version.c
+++ b/src/version.c
@@ -734,6 +734,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 120,
/**/
119,
/**/
--
--
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/E1vzK3k-00DHC5-Ho%40256bit.org.