From b0620ffe5a2e16d6d52e803978c90d0ffb030908 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Mon, 6 Mar 2023 16:45:57 +0800 Subject: vim-patch:9.0.1386: options test fails with some window width (#22548) Problem: Options test fails with some window width. Solution: Adjust what text the test checks with. (closes vim/vim#12111) https://github.com/vim/vim/commit/30585e03a7ce6cf985f93ca30275bf4dae0d87cc --- src/nvim/testdir/test_normal.vim | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/nvim/testdir/test_normal.vim') diff --git a/src/nvim/testdir/test_normal.vim b/src/nvim/testdir/test_normal.vim index 582596748f..48e6bc5298 100644 --- a/src/nvim/testdir/test_normal.vim +++ b/src/nvim/testdir/test_normal.vim @@ -2540,8 +2540,11 @@ func Test_normal33_g_cmd2() norm! g'a call assert_equal('>', a[-1:]) call assert_equal(1, line('.')) + let v:errmsg = '' call assert_nobeep("normal! g`\") + call assert_equal('', v:errmsg) call assert_nobeep("normal! g'\") + call assert_equal('', v:errmsg) " Test for g; and g, norm! g; -- cgit