diff options
author | KillTheMule <KillTheMule@users.noreply.github.com> | 2016-04-16 16:04:57 +0200 |
---|---|---|
committer | KillTheMule <KillTheMule@users.noreply.github.com> | 2016-04-16 22:40:43 +0200 |
commit | e6e843ebc08b10b7ac11e037035de31fe758ff8d (patch) | |
tree | 2b056c7955da6e98b49f11321d28ee0197299b64 | |
parent | 4eb58273cde14f360c41ad98461b423a87ba3fd1 (diff) | |
download | rneovim-e6e843ebc08b10b7ac11e037035de31fe758ff8d.tar.gz rneovim-e6e843ebc08b10b7ac11e037035de31fe758ff8d.tar.bz2 rneovim-e6e843ebc08b10b7ac11e037035de31fe758ff8d.zip |
Make completion_spec.lua more robust
Having a tags file in the calling directory of make test would make this test
fail, so disable tag file completion for it. Disable all other options except the
current buffer, to, applying the principle of least surprise.
-rw-r--r-- | test/functional/viml/completion_spec.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/viml/completion_spec.lua b/test/functional/viml/completion_spec.lua index 01b2bad059..8b507c8ffc 100644 --- a/test/functional/viml/completion_spec.lua +++ b/test/functional/viml/completion_spec.lua @@ -172,6 +172,7 @@ describe('completion', function() [4] = {bold = true, foreground = Screen.colors.SeaGreen}, }) + execute("set complete=.") feed('ifoobar fooegg<cr>f<c-p>') screen:expect([[ foobar fooegg | |