diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-05-18 21:50:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-18 21:50:57 +0200 |
commit | 1cbe0145695bea4168b4e23f61e29e51684088e1 (patch) | |
tree | 67e894a87ed21808c41eb84b6406c370311c4943 /test/functional/ui | |
parent | aa610690bf9e525fcd172def37e14505ac449cf2 (diff) | |
parent | 9d7aaf7149a5543b1ddfc89fb506a1019bec3ffb (diff) | |
download | rneovim-1cbe0145695bea4168b4e23f61e29e51684088e1.tar.gz rneovim-1cbe0145695bea4168b4e23f61e29e51684088e1.tar.bz2 rneovim-1cbe0145695bea4168b4e23f61e29e51684088e1.zip |
Merge #9301 'runtime/lua'
Diffstat (limited to 'test/functional/ui')
-rw-r--r-- | test/functional/ui/options_spec.lua | 3 | ||||
-rw-r--r-- | test/functional/ui/screen.lua | 7 | ||||
-rw-r--r-- | test/functional/ui/wildmode_spec.lua | 3 |
3 files changed, 5 insertions, 8 deletions
diff --git a/test/functional/ui/options_spec.lua b/test/functional/ui/options_spec.lua index 7ce21f5d76..93192934c7 100644 --- a/test/functional/ui/options_spec.lua +++ b/test/functional/ui/options_spec.lua @@ -1,10 +1,9 @@ -local global_helpers = require('test.helpers') local helpers = require('test.functional.helpers')(after_each) local Screen = require('test.functional.ui.screen') local clear = helpers.clear local command = helpers.command local eq = helpers.eq -local shallowcopy = global_helpers.shallowcopy +local shallowcopy = helpers.shallowcopy describe('ui receives option updates', function() local screen 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 diff --git a/test/functional/ui/wildmode_spec.lua b/test/functional/ui/wildmode_spec.lua index 1c8854bb28..f4b80fd428 100644 --- a/test/functional/ui/wildmode_spec.lua +++ b/test/functional/ui/wildmode_spec.lua @@ -1,7 +1,6 @@ -local global_helpers = require('test.helpers') -local shallowcopy = global_helpers.shallowcopy local helpers = require('test.functional.helpers')(after_each) local Screen = require('test.functional.ui.screen') +local shallowcopy = helpers.shallowcopy local clear, feed, command = helpers.clear, helpers.feed, helpers.command local iswin = helpers.iswin local funcs = helpers.funcs |