diff options
Diffstat (limited to 'test/functional/core/main_spec.lua')
-rw-r--r-- | test/functional/core/main_spec.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/functional/core/main_spec.lua b/test/functional/core/main_spec.lua index c8d800f89a..37d659739c 100644 --- a/test/functional/core/main_spec.lua +++ b/test/functional/core/main_spec.lua @@ -68,7 +68,9 @@ describe('command-line option', function() -- Need to explicitly pipe to stdin so that the embedded Nvim instance doesn't try to read -- data from the terminal #18181 - funcs.termopen(string.format([[echo "" | %s]], table.concat(args, " "))) + funcs.termopen(string.format([[echo "" | %s]], table.concat(args, " ")), { + env = { VIMRUNTIME = os.getenv('VIMRUNTIME') } + }) screen:expect([[ {1:^ }| {2:~ }| |