diff options
Diffstat (limited to 'test/functional/legacy/005_bufleave_delete_buffer_spec.lua')
-rw-r--r-- | test/functional/legacy/005_bufleave_delete_buffer_spec.lua | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/test/functional/legacy/005_bufleave_delete_buffer_spec.lua b/test/functional/legacy/005_bufleave_delete_buffer_spec.lua index 6da7c05244..4d2d06f942 100644 --- a/test/functional/legacy/005_bufleave_delete_buffer_spec.lua +++ b/test/functional/legacy/005_bufleave_delete_buffer_spec.lua @@ -1,10 +1,11 @@ -- Test for autocommand that deletes the current buffer on BufLeave event. -- Also test deleting the last buffer, should give a new, empty buffer. -local t = require('test.functional.testutil')() -local clear, feed, insert = t.clear, t.feed, t.insert -local command, expect = t.command, t.expect -local poke_eventloop = t.poke_eventloop +local n = require('test.functional.testnvim')() + +local clear, feed, insert = n.clear, n.feed, n.insert +local command, expect = n.command, n.expect +local poke_eventloop = n.poke_eventloop describe('test5', function() setup(clear) |