mirror of
https://github.com/neovim/neovim.git
synced 2026-01-04 10:26:42 +10:00
refactor(test): inject after_each differently
This commit is contained in:
committed by
Lewis Russell
parent
889f81c65f
commit
81fc27124b
@@ -1,7 +1,7 @@
|
||||
-- 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')(after_each)
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user