1
0
forked from aniani/vim

patch 9.0.1386: options test fails with some window width

Problem:    Options test fails with some window width.
Solution:   Adjust what text the test checks with. (closes #12111)
This commit is contained in:
zeertzjq
2023-03-06 08:10:04 +00:00
committed by Bram Moolenaar
parent f86dea8119
commit 30585e03a7
3 changed files with 8 additions and 2 deletions

View File

@@ -2526,8 +2526,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`\<Esc>")
call assert_equal('', v:errmsg)
call assert_nobeep("normal! g'\<Esc>")
call assert_equal('', v:errmsg)
" Test for g; and g,
norm! g;