aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/inccommand_spec.lua
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2022-06-25 17:52:39 +0200
committerGitHub <noreply@github.com>2022-06-25 17:52:39 +0200
commit9f592780b5bb8c69e18784c440c711dc5a4684e2 (patch)
tree34c4abe44693550d88221cbd140828d2657dcd7a /test/functional/ui/inccommand_spec.lua
parentb7084fef4c850d0352488b14dcff0f36a7e75e1c (diff)
parentf977f9445f7689fc32a136108ff92b3c2137968c (diff)
downloadrneovim-9f592780b5bb8c69e18784c440c711dc5a4684e2.tar.gz
rneovim-9f592780b5bb8c69e18784c440c711dc5a4684e2.tar.bz2
rneovim-9f592780b5bb8c69e18784c440c711dc5a4684e2.zip
Merge pull request #16271 from 3N4N/fix-15913
fix: make_filter_cmd for powershell as shell
Diffstat (limited to 'test/functional/ui/inccommand_spec.lua')
-rw-r--r--test/functional/ui/inccommand_spec.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/ui/inccommand_spec.lua b/test/functional/ui/inccommand_spec.lua
index 98ed564966..7a42e72732 100644
--- a/test/functional/ui/inccommand_spec.lua
+++ b/test/functional/ui/inccommand_spec.lua
@@ -17,7 +17,7 @@ local source = helpers.source
local poke_eventloop = helpers.poke_eventloop
local nvim = helpers.nvim
local sleep = helpers.sleep
-local nvim_dir = helpers.nvim_dir
+local testprg = helpers.testprg
local assert_alive = helpers.assert_alive
local default_text = [[
@@ -2875,7 +2875,7 @@ it(':substitute with inccommand during :terminal activity', function()
clear()
command("set cmdwinheight=3")
- feed([[:terminal "]]..nvim_dir..[[/shell-test" REP 5000 xxx<cr>]])
+ feed(([[:terminal "%s" REP 5000 xxx<cr>]]):format(testprg('shell-test')))
command('file term')
feed('G') -- Follow :terminal output.
command('new')