aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/screen.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-05-18 14:09:43 +0200
committerJustin M. Keyes <justinkz@gmail.com>2019-05-18 15:48:13 +0200
commitfd04877eb087b64d744a20db643f3abd630c70aa (patch)
treef5dadcc24cba5b83157657143a2aa9c0d91d6473 /test/functional/ui/screen.lua
parent7669fc1e9b9dba015597974f4a2b46f2439b48da (diff)
downloadrneovim-fd04877eb087b64d744a20db643f3abd630c70aa.tar.gz
rneovim-fd04877eb087b64d744a20db643f3abd630c70aa.tar.bz2
rneovim-fd04877eb087b64d744a20db643f3abd630c70aa.zip
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').
Diffstat (limited to 'test/functional/ui/screen.lua')
-rw-r--r--test/functional/ui/screen.lua7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/functional/ui/screen.lua b/test/functional/ui/screen.lua
index 53b6642207..a81851cbba 100644
--- a/test/functional/ui/screen.lua
+++ b/test/functional/ui/screen.lua
@@ -71,11 +71,10 @@
-- To help write screen tests, see Screen:snapshot_util().
-- To debug screen tests, see Screen:redraw_debug().
-local global_helpers = require('test.helpers')
-local deepcopy = global_helpers.deepcopy
-local shallowcopy = global_helpers.shallowcopy
-local concat_tables = global_helpers.concat_tables
local helpers = require('test.functional.helpers')(nil)
+local deepcopy = helpers.deepcopy
+local shallowcopy = helpers.shallowcopy
+local concat_tables = helpers.concat_tables
local request, run_session = helpers.request, helpers.run_session
local eq = helpers.eq
local dedent = helpers.dedent