From 9023f62707c47cd0dc9bbd711099faee0d93e3a6 Mon Sep 17 00:00:00 2001 From: John Szakmeister Date: Wed, 28 Jan 2015 17:48:36 -0500 Subject: [PATCH] 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. --- test/functional/ui/mouse_spec.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/test/functional/ui/mouse_spec.lua b/test/functional/ui/mouse_spec.lua index 653d8ad92c..9530e13453 100644 --- a/test/functional/ui/mouse_spec.lua +++ b/test/functional/ui/mouse_spec.lua @@ -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('<0,0>') screen:expect([[ E433: No tags file |