aboutsummaryrefslogtreecommitdiff
path: root/test/functional
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2023-03-07 04:13:04 +0100
committerGitHub <noreply@github.com>2023-03-07 11:13:04 +0800
commitaf23d173883f47fd02a9a380c719e4428370b484 (patch)
treed5da436c1539905528254225dd8f817f1577fb84 /test/functional
parentbf4eada2c83f5402fc56370fd22af11029a4a3aa (diff)
downloadrneovim-af23d173883f47fd02a9a380c719e4428370b484.tar.gz
rneovim-af23d173883f47fd02a9a380c719e4428370b484.tar.bz2
rneovim-af23d173883f47fd02a9a380c719e4428370b484.zip
test: move oldtests to test directory (#22536)
The new oldtest directory is in test/old/testdir. The reason for this is that many tests have hardcoded the parent directory name to be 'testdir'.
Diffstat (limited to 'test/functional')
-rw-r--r--test/functional/helpers.lua2
-rw-r--r--test/functional/legacy/options_spec.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/helpers.lua b/test/functional/helpers.lua
index cd6b535477..43e5b73608 100644
--- a/test/functional/helpers.lua
+++ b/test/functional/helpers.lua
@@ -898,7 +898,7 @@ local load_factor = 1
if global_helpers.is_ci() then
-- Compute load factor only once (but outside of any tests).
module.clear()
- module.request('nvim_command', 'source src/nvim/testdir/load.vim')
+ module.request('nvim_command', 'source test/old/testdir/load.vim')
load_factor = module.request('nvim_eval', 'g:test_load_factor')
end
function module.load_adjust(num)
diff --git a/test/functional/legacy/options_spec.lua b/test/functional/legacy/options_spec.lua
index bd14f3bc53..ce46ea013d 100644
--- a/test/functional/legacy/options_spec.lua
+++ b/test/functional/legacy/options_spec.lua
@@ -1,4 +1,4 @@
--- See also: src/nvim/testdir/test_options.vim
+-- See also: test/old/testdir/test_options.vim
local helpers = require('test.functional.helpers')(after_each)
local command, clear = helpers.command, helpers.clear
local source, expect = helpers.source, helpers.expect