From 4946489e2e3eeca5c831faf9fe86cbf1229701e2 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Tue, 9 Apr 2024 16:42:39 +0800 Subject: 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 --- test/old/testdir/test_diffmode.vim | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test') 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\" call assert_equal(6, line('w0')) -- cgit