diff options
| author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-10-14 22:56:32 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-14 22:56:32 -0400 |
| commit | 4b00916e940d35c351482b2bd5e3822796d030a3 (patch) | |
| tree | 81d7f6880c7d05ff6985a1101d56c25ffc6a2aa0 /src/nvim/testdir/test_edit.vim | |
| parent | 759a05407f3e75cc002c0950563388735e969a94 (diff) | |
| parent | 3183b09a5e0cce78be49e08cffb5208cf424e8c1 (diff) | |
| download | rneovim-4b00916e940d35c351482b2bd5e3822796d030a3.tar.gz rneovim-4b00916e940d35c351482b2bd5e3822796d030a3.tar.bz2 rneovim-4b00916e940d35c351482b2bd5e3822796d030a3.zip | |
Merge pull request #13092 from janlazo/vim-8.1.1403
vim-patch:8.1.{95,103,221,269,975,978,1403,1569,1856,1983,2014,2365,2406},8.2.{573,616,710,957,1020,1036,1038,1743,1842,1843}
Diffstat (limited to 'src/nvim/testdir/test_edit.vim')
| -rw-r--r-- | src/nvim/testdir/test_edit.vim | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_edit.vim b/src/nvim/testdir/test_edit.vim index d4b1c63741..caebc341e0 100644 --- a/src/nvim/testdir/test_edit.vim +++ b/src/nvim/testdir/test_edit.vim @@ -1559,3 +1559,23 @@ func Test_edit_is_a_directory() call delete(dirname, 'rf') endfunc + +func Test_edit_browse() + " in the GUI this opens a file picker, we only test the terminal behavior + CheckNotGui + + " ":browse xxx" checks for the FileExplorer augroup and assumes editing "." + " works then. + augroup FileExplorer + au! + augroup END + + " When the USE_FNAME_CASE is defined this used to cause a crash. + browse enew + bwipe! + + browse split + bwipe! +endfunc + +" vim: shiftwidth=2 sts=2 expandtab |