Fix the ctrl + left click test.

The test was hoping to not find a tags file, but didn't actively guard
against it.  In my case, I had a tags file present which was causing
different output to be generated.  To fix this, let's set the tags
option to look for an unlikely filename.
This commit is contained in:
John Szakmeister 2015-01-28 17:48:36 -05:00
parent 997892157a
commit 9023f62707

View File

@ -145,6 +145,7 @@ describe('Mouse input', function()
end)
it('ctrl + left click will search for a tag', function()
nvim('set_option', 'tags', './non-existent-tags-file')
feed('<C-LeftMouse><0,0>')
screen:expect([[
E433: No tags file |