mirror of
https://github.com/neovim/neovim.git
synced 2026-05-19 11:31:12 +00:00
vim-patch:8.2.1736: failure to compile a pattern not tested much
Problem: Failure to compile a pattern not tested much.
Solution: Add tests where a pattern fails to compile. (Yegappan Lakshmanan,
closes vim/vim#7004)
531be47ac5
This commit is contained in:
@@ -147,6 +147,7 @@ func Test_bdelete_cmd()
|
||||
%bwipe!
|
||||
call assert_fails('bdelete 5', 'E516:')
|
||||
call assert_fails('1,1bdelete 1 2', 'E488:')
|
||||
call assert_fails('bdelete \)', 'E55:')
|
||||
|
||||
" Deleting a unlisted and unloaded buffer
|
||||
edit Xfile1
|
||||
|
||||
Reference in New Issue
Block a user