aboutsummaryrefslogtreecommitdiff
path: root/test/old/testdir/test_diffmode.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-04-09 16:42:39 +0800
committerGitHub <noreply@github.com>2024-04-09 16:42:39 +0800
commit4946489e2e3eeca5c831faf9fe86cbf1229701e2 (patch)
tree90e1923e5b173420b216888e5182652c4adfd391 /test/old/testdir/test_diffmode.vim
parent102720be944cf575dbf7790e670acf2fafbaf15f (diff)
downloadrneovim-4946489e2e3eeca5c831faf9fe86cbf1229701e2.tar.gz
rneovim-4946489e2e3eeca5c831faf9fe86cbf1229701e2.tar.bz2
rneovim-4946489e2e3eeca5c831faf9fe86cbf1229701e2.zip
vim-patch:9.1.0283: Several small issues in doc and tests (#28249)
Problem: Wrong doc style for pandoc syntax description, Test_diff_eob_halfpage() may fail depending on screen size, using braces in highlight.c when not necessary Solution: Fix pandoc documentation, make sure the window for the test has 7 lines, remove the braces. https://github.com/vim/vim/commit/a040019be68859f0667ae475de8d67bb755596ed Co-authored-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'test/old/testdir/test_diffmode.vim')
-rw-r--r--test/old/testdir/test_diffmode.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/old/testdir/test_diffmode.vim b/test/old/testdir/test_diffmode.vim
index 334bb3ee32..3cc8f97f2f 100644
--- a/test/old/testdir/test_diffmode.vim
+++ b/test/old/testdir/test_diffmode.vim
@@ -1777,10 +1777,12 @@ func Test_diff_eob_halfpage()
5new
call setline(1, ['']->repeat(10) + ['a'])
diffthis
+ call assert_true(5, winheight(5))
5new
call setline(1, ['']->repeat(3) + ['a', 'b'])
diffthis
wincmd j
+ resize 7
exe "norm! G\<C-D>"
call assert_equal(6, line('w0'))