0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 8.2.1940: Vim9: browse modifier test fails on Mac

Problem:    Vim9: browse modifier test fails on Mac.
Solution:   Only test when the +browse feature is available.
This commit is contained in:
Bram Moolenaar 2020-11-01 22:15:44 +01:00
parent 3b6d57f2ce
commit 97a19005e1
2 changed files with 7 additions and 3 deletions

View File

@ -347,9 +347,11 @@ def Test_win_command_modifiers()
assert_equal(2, winnr())
close
browse set
assert_equal('option-window', expand('%'))
close
if has('browse')
browse set
assert_equal('option-window', expand('%'))
close
endif
vsplit
botright split

View File

@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1940,
/**/
1939,
/**/