diff options
author | John Szakmeister <john@szakmeister.net> | 2015-01-28 17:48:36 -0500 |
---|---|---|
committer | John Szakmeister <john@szakmeister.net> | 2015-01-28 17:48:36 -0500 |
commit | 9023f62707c47cd0dc9bbd711099faee0d93e3a6 (patch) | |
tree | 8d4d9d19f0e34a103675701088511c180128b848 | |
parent | 997892157abcf0b4047ec890520c9f77473d94b9 (diff) | |
download | rneovim-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.
-rw-r--r-- | test/functional/ui/mouse_spec.lua | 1 |
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 | |