mirror of
https://github.com/neovim/neovim.git
synced 2025-12-15 19:05:40 +00:00
fix(tests): check for EOF on exit of nvim properly
This commit is contained in:
@@ -16,6 +16,7 @@ local insert = helpers.insert
|
||||
local command = helpers.command
|
||||
local write_file = helpers.write_file
|
||||
local curbufmeths = helpers.curbufmeths
|
||||
local expect_exit = helpers.expect_exit
|
||||
|
||||
local function ls_dir_sorted(dirname)
|
||||
local files = {}
|
||||
@@ -43,7 +44,7 @@ describe("'directory' option", function()
|
||||
clear()
|
||||
end)
|
||||
teardown(function()
|
||||
command('qall!')
|
||||
expect_exit(command, 'qall!')
|
||||
helpers.rmdir('Xtest.je')
|
||||
helpers.rmdir('Xtest2')
|
||||
os.remove('Xtest1')
|
||||
|
||||
Reference in New Issue
Block a user