diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-08-03 21:50:14 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-03 21:50:14 +0800 |
commit | 0a29267514c57c438d68a3d5599bfada41363b24 (patch) | |
tree | 074aec1e5228d53508ab8447eb837f83301044f9 /test | |
parent | 3df8d9b8c56a7f0af0f7590b11831bd96ead92f1 (diff) | |
download | rneovim-0a29267514c57c438d68a3d5599bfada41363b24.tar.gz rneovim-0a29267514c57c438d68a3d5599bfada41363b24.tar.bz2 rneovim-0a29267514c57c438d68a3d5599bfada41363b24.zip |
fix(completion): remove wrong FUNC_ATTR_NONNULL_ALL (#19627)
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/editor/completion_spec.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/functional/editor/completion_spec.lua b/test/functional/editor/completion_spec.lua index e27da0947f..6cdac3c079 100644 --- a/test/functional/editor/completion_spec.lua +++ b/test/functional/editor/completion_spec.lua @@ -1253,4 +1253,10 @@ describe('completion', function() feed('ifoo#<C-X><C-U>') assert_alive() end) + + it('does not crash when using i_CTRL-X_CTRL-V to complete non-existent colorscheme', function() + feed('icolorscheme NOSUCHCOLORSCHEME<C-X><C-V>') + expect('colorscheme NOSUCHCOLORSCHEME') + assert_alive() + end) end) |