From e6e843ebc08b10b7ac11e037035de31fe758ff8d Mon Sep 17 00:00:00 2001 From: KillTheMule Date: Sat, 16 Apr 2016 16:04:57 +0200 Subject: 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. --- test/functional/viml/completion_spec.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'test/functional/viml') 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 fooeggf') screen:expect([[ foobar fooegg | -- cgit