mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 07:16:09 +00:00
refactor(tests): introduce testprg()
Also: - Add a describe('shell :!') section to system_spec. - Make the test for #16271 work on systems without powershell.
This commit is contained in:
@@ -3,7 +3,7 @@ local screen = require('test.functional.ui.screen')
|
||||
|
||||
local curbufmeths = helpers.curbufmeths
|
||||
local curwinmeths = helpers.curwinmeths
|
||||
local nvim_dir = helpers.nvim_dir
|
||||
local testprg = helpers.testprg
|
||||
local command = helpers.command
|
||||
local funcs = helpers.funcs
|
||||
local meths = helpers.meths
|
||||
@@ -21,7 +21,7 @@ describe(':edit term://*', function()
|
||||
|
||||
before_each(function()
|
||||
clear()
|
||||
meths.set_option('shell', nvim_dir .. '/shell-test')
|
||||
meths.set_option('shell', testprg('shell-test'))
|
||||
meths.set_option('shellcmdflag', 'EXE')
|
||||
end)
|
||||
|
||||
|
Reference in New Issue
Block a user