aboutsummaryrefslogtreecommitdiff
path: root/test/functional/viml/completion_spec.lua
diff options
context:
space:
mode:
authorKillTheMule <KillTheMule@users.noreply.github.com>2016-04-16 16:04:57 +0200
committerKillTheMule <KillTheMule@users.noreply.github.com>2016-04-16 22:40:43 +0200
commite6e843ebc08b10b7ac11e037035de31fe758ff8d (patch)
tree2b056c7955da6e98b49f11321d28ee0197299b64 /test/functional/viml/completion_spec.lua
parent4eb58273cde14f360c41ad98461b423a87ba3fd1 (diff)
downloadrneovim-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.
Diffstat (limited to 'test/functional/viml/completion_spec.lua')
-rw-r--r--test/functional/viml/completion_spec.lua1
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 |