mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
test(unit): use file:close() properly (#21505)
This commit is contained in:
@@ -28,9 +28,9 @@ describe('buffer functions', function()
|
||||
|
||||
setup(function()
|
||||
-- create the files
|
||||
io.open(path1, 'w').close()
|
||||
io.open(path2, 'w').close()
|
||||
io.open(path3, 'w').close()
|
||||
io.open(path1, 'w'):close()
|
||||
io.open(path2, 'w'):close()
|
||||
io.open(path3, 'w'):close()
|
||||
end)
|
||||
|
||||
teardown(function()
|
||||
|
||||
Reference in New Issue
Block a user