aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/mouse_spec.lua
diff options
context:
space:
mode:
authorJohn Szakmeister <john@szakmeister.net>2015-01-28 17:48:36 -0500
committerJohn Szakmeister <john@szakmeister.net>2015-01-28 17:48:36 -0500
commit9023f62707c47cd0dc9bbd711099faee0d93e3a6 (patch)
tree8d4d9d19f0e34a103675701088511c180128b848 /test/functional/ui/mouse_spec.lua
parent997892157abcf0b4047ec890520c9f77473d94b9 (diff)
downloadrneovim-9023f62707c47cd0dc9bbd711099faee0d93e3a6.tar.gz
rneovim-9023f62707c47cd0dc9bbd711099faee0d93e3a6.tar.bz2
rneovim-9023f62707c47cd0dc9bbd711099faee0d93e3a6.zip
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.
Diffstat (limited to 'test/functional/ui/mouse_spec.lua')
-rw-r--r--test/functional/ui/mouse_spec.lua1
1 files changed, 1 insertions, 0 deletions
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('<C-LeftMouse><0,0>')
screen:expect([[
E433: No tags file |