diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2022-07-15 11:43:42 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2022-07-15 15:21:39 +0800 |
| commit | a649af4dbaba5ef13dcbf610fe584dbc67cf2435 (patch) | |
| tree | 9798e6718ce448953e32caf604641b063f58b5fc /src/nvim/testdir/test_buffer.vim | |
| parent | 7b5b7b3cc6306e9313dcf677f212cb132bd38aa0 (diff) | |
| download | rneovim-a649af4dbaba5ef13dcbf610fe584dbc67cf2435.tar.gz rneovim-a649af4dbaba5ef13dcbf610fe584dbc67cf2435.tar.bz2 rneovim-a649af4dbaba5ef13dcbf610fe584dbc67cf2435.zip | |
vim-patch:8.2.0426: some errors were not tested for
Problem: Some errors were not tested for.
Solution: Add tests. (Dominique Pelle, closes vim/vim#5824)
https://github.com/vim/vim/commit/9b9be007e7d674f49fc2b650f840d08532b180ad
Cherry-pick get_highest_fnum() from patch 8.1.1908 to make tests pass.
Diffstat (limited to 'src/nvim/testdir/test_buffer.vim')
| -rw-r--r-- | src/nvim/testdir/test_buffer.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_buffer.vim b/src/nvim/testdir/test_buffer.vim index 4cc559adb8..67be3e6747 100644 --- a/src/nvim/testdir/test_buffer.vim +++ b/src/nvim/testdir/test_buffer.vim @@ -146,6 +146,7 @@ endfunc func Test_bdelete_cmd() %bwipe! call assert_fails('bdelete 5', 'E516:') + call assert_fails('1,1bdelete 1 2', 'E488:') " Deleting a unlisted and unloaded buffer edit Xfile1 |