mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -07:00
Merge pull request #26920 from jamessan/backport-26913-to-release-0.9
[Backport release-0.9] fix(test/tui_spec): pass the expected NULL-sentinel to execl()
This commit is contained in:
commit
5fe8029cf3
@ -1823,7 +1823,7 @@ describe('TUI', function()
|
||||
write_file(script_file, [=[
|
||||
local ffi = require('ffi')
|
||||
ffi.cdef([[int execl(const char *, const char *, ...);]])
|
||||
ffi.C.execl(vim.v.progpath, 'Xargv0nvim', '--clean')
|
||||
ffi.C.execl(vim.v.progpath, 'Xargv0nvim', '--clean', nil)
|
||||
]=])
|
||||
finally(function()
|
||||
os.remove(script_file)
|
||||
|
Loading…
Reference in New Issue
Block a user