vim-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: vim/vim#19608

123a1e6410

Co-authored-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
zeertzjq
2026-03-09 06:34:07 +08:00
parent 504327020d
commit f1e65bde02
2 changed files with 10 additions and 7 deletions

View File

@@ -147,17 +147,17 @@ describe('normal', function()
end)
clear({ env = { LANG = 'tr_TR.UTF-8' } })
screen = Screen.new(75, 5)
screen = Screen.new(40, 5)
exec('set ruler')
exec('lang tr_TR.UTF-8')
exec('put =range(1,40)')
exec('5')
screen:expect([[
3 |
^4 |
5 |
6 |
40 more lines 5,1 %8 |
3 |
^4 |
5 |
6 |
40 more lines 5,1 %8 |
]])
end)
end)