aboutsummaryrefslogtreecommitdiff
path: root/test/functional/autocmd/tabnew_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/autocmd/tabnew_spec.lua')
-rw-r--r--test/functional/autocmd/tabnew_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/autocmd/tabnew_spec.lua b/test/functional/autocmd/tabnew_spec.lua
index 970ca19726..d80644cd92 100644
--- a/test/functional/autocmd/tabnew_spec.lua
+++ b/test/functional/autocmd/tabnew_spec.lua
@@ -4,8 +4,8 @@ local clear, nvim, buffer, curbuf, curwin, eq, neq, ok =
helpers.eq, helpers.neq, helpers.ok
describe('TabNew', function()
+ setup(clear)
describe('au TabNew', function()
- clear()
describe('with * as <afile>', function()
it('matches when opening any new tab', function()
nvim('command', 'au! TabNew * echom "tabnew:".tabpagenr().":".bufnr("")')