diff options
author | Christian Clason <c.clason@uni-graz.at> | 2022-06-25 17:52:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-25 17:52:39 +0200 |
commit | 9f592780b5bb8c69e18784c440c711dc5a4684e2 (patch) | |
tree | 34c4abe44693550d88221cbd140828d2657dcd7a /test/functional/terminal/helpers.lua | |
parent | b7084fef4c850d0352488b14dcff0f36a7e75e1c (diff) | |
parent | f977f9445f7689fc32a136108ff92b3c2137968c (diff) | |
download | rneovim-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/terminal/helpers.lua')
-rw-r--r-- | test/functional/terminal/helpers.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/terminal/helpers.lua b/test/functional/terminal/helpers.lua index 51ecae663a..bcfd3559e6 100644 --- a/test/functional/terminal/helpers.lua +++ b/test/functional/terminal/helpers.lua @@ -3,7 +3,7 @@ -- operate on the _host_ session, _not_ the child session. local helpers = require('test.functional.helpers')(nil) local Screen = require('test.functional.ui.screen') -local nvim_dir = helpers.nvim_dir +local testprg = helpers.testprg local feed_command, nvim = helpers.feed_command, helpers.nvim local function feed_data(data) @@ -37,7 +37,7 @@ local function clear_attrs() feed_termcode('[0;10m') end local function enable_mouse() feed_termcode('[?1002h') end local function disable_mouse() feed_termcode('[?1002l') end -local default_command = '["'..nvim_dir..'/tty-test'..'"]' +local default_command = '["'..testprg('tty-test')..'"]' local function screen_setup(extra_rows, command, cols, opts) extra_rows = extra_rows and extra_rows or 0 |