aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/packadd_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/legacy/packadd_spec.lua')
-rw-r--r--test/functional/legacy/packadd_spec.lua14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/functional/legacy/packadd_spec.lua b/test/functional/legacy/packadd_spec.lua
index 2d851819e3..c280888dda 100644
--- a/test/functional/legacy/packadd_spec.lua
+++ b/test/functional/legacy/packadd_spec.lua
@@ -1,7 +1,7 @@
-- Tests for 'packpath' and :packadd
local helpers = require('test.functional.helpers')(after_each)
-local clear, source, execute = helpers.clear, helpers.source, helpers.execute
+local clear, source, command = helpers.clear, helpers.source, helpers.command
local call, eq, nvim = helpers.call, helpers.eq, helpers.meths
local feed = helpers.feed
@@ -263,12 +263,12 @@ describe('packadd', function()
[2] = {bold = true, reverse = true}
})
- execute([[let optdir1 = &packpath . '/pack/mine/opt']])
- execute([[let optdir2 = &packpath . '/pack/candidate/opt']])
- execute([[call mkdir(optdir1 . '/pluginA', 'p')]])
- execute([[call mkdir(optdir1 . '/pluginC', 'p')]])
- execute([[call mkdir(optdir2 . '/pluginB', 'p')]])
- execute([[call mkdir(optdir2 . '/pluginC', 'p')]])
+ command([[let optdir1 = &packpath . '/pack/mine/opt']])
+ command([[let optdir2 = &packpath . '/pack/candidate/opt']])
+ command([[call mkdir(optdir1 . '/pluginA', 'p')]])
+ command([[call mkdir(optdir1 . '/pluginC', 'p')]])
+ command([[call mkdir(optdir2 . '/pluginB', 'p')]])
+ command([[call mkdir(optdir2 . '/pluginC', 'p')]])
end)
it('works', function()