diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2022-08-23 11:24:46 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-23 11:24:46 +0800 |
| commit | 63df91c10a7ec492adae91c78cb51eb231c77d89 (patch) | |
| tree | f9fd327fa6494d5a9ffe4440531a4814a2fd89c9 /src/nvim/testdir/test_cmdline.vim | |
| parent | d5328ea408d93d53b46417a65ca3b2fc99ab64b6 (diff) | |
| download | rneovim-63df91c10a7ec492adae91c78cb51eb231c77d89.tar.gz rneovim-63df91c10a7ec492adae91c78cb51eb231c77d89.tar.bz2 rneovim-63df91c10a7ec492adae91c78cb51eb231c77d89.zip | |
vim-patch:8.2.1046: insufficient tests for src/buffer.c (#19903)
Problem: Insufficient tests for src/buffer.c.
Solution: Add more tests. Move comments related tests to a separate file.
(Yegappan Lakshmanan, closes vim/vim#6325)
https://github.com/vim/vim/commit/b7e2483655d9b68df0c7349918027d800051a28a
Diffstat (limited to 'src/nvim/testdir/test_cmdline.vim')
| -rw-r--r-- | src/nvim/testdir/test_cmdline.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_cmdline.vim b/src/nvim/testdir/test_cmdline.vim index 72d2dc9cbb..b7c6c1e4d1 100644 --- a/src/nvim/testdir/test_cmdline.vim +++ b/src/nvim/testdir/test_cmdline.vim @@ -514,6 +514,7 @@ func Test_getcompletion() call delete('Xtags') set tags& + call assert_fails("call getcompletion('\\\\@!\\\\@=', 'buffer')", 'E871:') call assert_fails('call getcompletion("", "burp")', 'E475:') call assert_fails('call getcompletion("abc", [])', 'E475:') endfunc |