aboutsummaryrefslogtreecommitdiff
path: root/test/functional/provider/ruby_spec.lua
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2019-08-28 22:47:54 +0200
committerGitHub <noreply@github.com>2019-08-28 22:47:54 +0200
commit6cc76194b2d67d6160a72f017a37b9d3a6b7dd3c (patch)
tree537bc9d4b64dce8854cc0327089b8e62ed5d17d0 /test/functional/provider/ruby_spec.lua
parent1d59575450e0a09d710a7cad2b8e1b5c5e0242f5 (diff)
downloadrneovim-6cc76194b2d67d6160a72f017a37b9d3a6b7dd3c.tar.gz
rneovim-6cc76194b2d67d6160a72f017a37b9d3a6b7dd3c.tar.bz2
rneovim-6cc76194b2d67d6160a72f017a37b9d3a6b7dd3c.zip
tests: use runtime from build for doc/tags with :help (#10479)
This is better practice in general, and allows to remove the "helptags ALL" hacks. Ref: https://github.com/neovim/neovim/issues/8824 Ref: https://github.com/neovim/neovim/commit/f1b67c3453c * Makefile: fix dependencies with regard to helptags - use the file as the main target to avoid unnecessary triggering - use "make oldtest" on Travis to ensure it gets built
Diffstat (limited to 'test/functional/provider/ruby_spec.lua')
-rw-r--r--test/functional/provider/ruby_spec.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/provider/ruby_spec.lua b/test/functional/provider/ruby_spec.lua
index 62ac91a929..72802db3c9 100644
--- a/test/functional/provider/ruby_spec.lua
+++ b/test/functional/provider/ruby_spec.lua
@@ -101,6 +101,7 @@ end)
describe('ruby provider', function()
it('RPC call to expand("<afile>") during BufDelete #5245 #5617', function()
+ helpers.add_builddir_to_rtp()
command([=[autocmd BufDelete * ruby VIM::evaluate('expand("<afile>")')]=])
feed_command('help help')
eq(2, eval('1+1')) -- Still alive?