aboutsummaryrefslogtreecommitdiff
path: root/test/functional/helpers.lua
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2024-01-15 19:41:22 +0000
committerLewis Russell <lewis6991@gmail.com>2024-01-17 10:10:17 +0000
commit96ad7e0a4aa10ba7541e9e3256f1e84cfc9037ad (patch)
tree6a045a57277e224999f61e36ca57f1c81591e619 /test/functional/helpers.lua
parentb990a1f286fa6c5add1001e4a31fd8e699b40e99 (diff)
downloadrneovim-96ad7e0a4aa10ba7541e9e3256f1e84cfc9037ad.tar.gz
rneovim-96ad7e0a4aa10ba7541e9e3256f1e84cfc9037ad.tar.bz2
rneovim-96ad7e0a4aa10ba7541e9e3256f1e84cfc9037ad.zip
test: refactor Paths
Diffstat (limited to 'test/functional/helpers.lua')
-rw-r--r--test/functional/helpers.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/helpers.lua b/test/functional/helpers.lua
index 5653810f28..e1fbfe6ff3 100644
--- a/test/functional/helpers.lua
+++ b/test/functional/helpers.lua
@@ -18,7 +18,7 @@ local fail = global_helpers.fail
local module = {}
local runtime_set = 'set runtimepath^=./build/lib/nvim/'
-module.nvim_prog = (os.getenv('NVIM_PRG') or global_helpers.test_build_dir .. '/bin/nvim')
+module.nvim_prog = (os.getenv('NVIM_PRG') or global_helpers.paths.test_build_dir .. '/bin/nvim')
-- Default settings for the test session.
module.nvim_set = (
'set shortmess+=IS background=light termguicolors noswapfile noautoindent startofline'
@@ -915,7 +915,7 @@ end
function module.add_builddir_to_rtp()
-- Add runtime from build dir for doc/tags (used with :help).
- module.command(string.format([[set rtp+=%s/runtime]], module.test_build_dir))
+ module.command(string.format([[set rtp+=%s/runtime]], module.paths.test_build_dir))
end
-- Kill (reap) a process by PID.