diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-11-01 22:15:44 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-11-01 22:15:44 +0100 |
commit | 97a19005e1a9cecc2c114affbecaf61177844fa4 (patch) | |
tree | 22ef9aaf665b09ef6630771498e5b627e0c402fc /src/testdir/test_vim9_cmd.vim | |
parent | 3b6d57f2ce87dc5a4b1a50e1b0fd2aeaf72faae2 (diff) | |
download | vim-git-97a19005e1a9cecc2c114affbecaf61177844fa4.tar.gz |
patch 8.2.1940: Vim9: browse modifier test fails on Macv8.2.1940
Problem: Vim9: browse modifier test fails on Mac.
Solution: Only test when the +browse feature is available.
Diffstat (limited to 'src/testdir/test_vim9_cmd.vim')
-rw-r--r-- | src/testdir/test_vim9_cmd.vim | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/testdir/test_vim9_cmd.vim b/src/testdir/test_vim9_cmd.vim index a87d9b25a..dc4dc76ba 100644 --- a/src/testdir/test_vim9_cmd.vim +++ b/src/testdir/test_vim9_cmd.vim @@ -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 |