test: improve test conventions

Work on https://github.com/neovim/neovim/issues/27004.
This commit is contained in:
dundargoc authored and dundargoc committed 2024-04-08 22:51:00 +02:00
1 parent 978962f9a0
commit 7035125b2b
488 files changed
+4176 -4235

No files matched your search

+12 -12
View File
@@ -1,17 +1,17 @@
local helpers = require('test.functional.helpers')(after_each)
local t = require('test.functional.testutil')(after_each)
local Screen = require('test.functional.ui.screen')
local clear = helpers.clear
local command = helpers.command
local eq = helpers.eq
local neq = helpers.neq
local feed = helpers.feed
local eval = helpers.eval
local exec = helpers.exec
local fn = helpers.fn
local api = helpers.api
local curwin = helpers.api.nvim_get_current_win
local assert_alive = helpers.assert_alive
local clear = t.clear
local command = t.command
local eq = t.eq
local neq = t.neq
local feed = t.feed
local eval = t.eval
local exec = t.exec
local fn = t.fn
local api = t.api
local curwin = t.api.nvim_get_current_win
local assert_alive = t.assert_alive
describe('tabpage', function()
before_each(clear)