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.
This commit is contained in:
KillTheMule 2016-04-16 16:04:57 +02:00
parent 4eb58273cd
commit e6e843ebc0

View File

@ -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 |