mirror of
https://github.com/neovim/neovim.git
synced 2025-12-04 21:52:41 +00:00
test: remove use of require('test.helpers')
The test.functional.helpers and test.unit.helpers modules now include
all of the public functions from test.helpers, so there is no need to
separately require('test.helpers').
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
local helpers = require('test.unit.helpers')(after_each)
|
||||
local global_helpers = require('test.helpers')
|
||||
local itp = helpers.gen_itp(it)
|
||||
local viml_helpers = require('test.unit.viml.helpers')
|
||||
|
||||
@@ -8,6 +7,8 @@ local conv_enum = helpers.conv_enum
|
||||
local cimport = helpers.cimport
|
||||
local ffi = helpers.ffi
|
||||
local eq = helpers.eq
|
||||
local shallowcopy = helpers.shallowcopy
|
||||
local intchar2lua = helpers.intchar2lua
|
||||
|
||||
local conv_ccs = viml_helpers.conv_ccs
|
||||
local new_pstate = viml_helpers.new_pstate
|
||||
@@ -15,9 +16,6 @@ local conv_cmp_type = viml_helpers.conv_cmp_type
|
||||
local pstate_set_str = viml_helpers.pstate_set_str
|
||||
local conv_expr_asgn_type = viml_helpers.conv_expr_asgn_type
|
||||
|
||||
local shallowcopy = global_helpers.shallowcopy
|
||||
local intchar2lua = global_helpers.intchar2lua
|
||||
|
||||
local lib = cimport('./src/nvim/viml/parser/expressions.h')
|
||||
|
||||
local eltkn_type_tab, eltkn_mul_type_tab, eltkn_opt_scope_tab
|
||||
|
||||
Reference in New Issue
Block a user