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.
diff --git a/src/testdir/test_vim9_cmd.vim b/src/testdir/test_vim9_cmd.vim
index a87d9b2..dc4dc76 100644
--- a/src/testdir/test_vim9_cmd.vim
+++ b/src/testdir/test_vim9_cmd.vim
@@ -347,9 +347,11 @@
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
diff --git a/src/version.c b/src/version.c
index b4ef5a9..42830bc 100644
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1940,
+/**/
1939,
/**/
1938,