fix(tests): check for EOF on exit of nvim properly

This commit is contained in:
bfredl
2022-06-08 23:22:50 +02:00
parent dd8b6094c0
commit e3281d992e
16 changed files with 74 additions and 56 deletions

View File

@@ -16,12 +16,13 @@ local trim = helpers.trim
local currentdir = helpers.funcs.getcwd
local iswin = helpers.iswin
local assert_alive = helpers.assert_alive
local expect_exit = helpers.expect_exit
describe('fileio', function()
before_each(function()
end)
after_each(function()
command(':qall!')
expect_exit(command, ':qall!')
os.remove('Xtest_startup_shada')
os.remove('Xtest_startup_file1')
os.remove('Xtest_startup_file1~')