aboutsummaryrefslogtreecommitdiff
path: root/test/functional/core
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/core
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/core')
-rw-r--r--test/functional/core/job_spec.lua7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/functional/core/job_spec.lua b/test/functional/core/job_spec.lua
index 461a69f357..a6763ba3c7 100644
--- a/test/functional/core/job_spec.lua
+++ b/test/functional/core/job_spec.lua
@@ -1,9 +1,9 @@
local helpers = require('test.functional.helpers')(after_each)
local clear, eq, eval, exc_exec, feed_command, feed, insert, neq, next_msg, nvim,
- nvim_dir, ok, source, write_file, mkdir, rmdir = helpers.clear,
+ testprg, ok, source, write_file, mkdir, rmdir = helpers.clear,
helpers.eq, helpers.eval, helpers.exc_exec, helpers.feed_command, helpers.feed,
helpers.insert, helpers.neq, helpers.next_msg, helpers.nvim,
- helpers.nvim_dir, helpers.ok, helpers.source,
+ helpers.testprg, helpers.ok, helpers.source,
helpers.write_file, helpers.mkdir, helpers.rmdir
local assert_alive = helpers.assert_alive
local command = helpers.command
@@ -1043,8 +1043,7 @@ describe('jobs', function()
return a:data
endfunction
]])
- local ext = iswin() and '.exe' or ''
- insert(nvim_dir..'/tty-test'..ext) -- Full path to tty-test.
+ insert(testprg('tty-test'))
nvim('command', 'let g:job_opts.pty = 1')
nvim('command', 'let exec = [expand("<cfile>:p")]')
nvim('command', "let j = jobstart(exec, g:job_opts)")