aboutsummaryrefslogtreecommitdiff
path: root/test/functional/helpers.lua
diff options
context:
space:
mode:
authorSaid Al Attrach <alattrach.said@yahoo.com>2019-03-30 18:14:20 +0100
committerSaid Al Attrach <alattrach.said@yahoo.com>2019-03-30 18:14:20 +0100
commit2bf18e7843542dd4ba3bfaa3b09078401bfb6b7b (patch)
tree6ba61785950dc655ad3c6ec05907eeb5b85d5d3a /test/functional/helpers.lua
parenta9df3fa5d2ee41b165b1e740fe27eddbf9dbf4a5 (diff)
downloadrneovim-2bf18e7843542dd4ba3bfaa3b09078401bfb6b7b.tar.gz
rneovim-2bf18e7843542dd4ba3bfaa3b09078401bfb6b7b.tar.bz2
rneovim-2bf18e7843542dd4ba3bfaa3b09078401bfb6b7b.zip
test: move trim to global helpers
Diffstat (limited to 'test/functional/helpers.lua')
-rw-r--r--test/functional/helpers.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/functional/helpers.lua b/test/functional/helpers.lua
index 3e72ba6f98..9d82ce9c0d 100644
--- a/test/functional/helpers.lua
+++ b/test/functional/helpers.lua
@@ -25,6 +25,7 @@ local read_file = global_helpers.read_file
local sleep = global_helpers.sleep
local table_flatten = global_helpers.table_flatten
local write_file = global_helpers.write_file
+local trim = global_helpers.trim
local start_dir = lfs.currentdir()
-- XXX: NVIM_PROG takes precedence, QuickBuild sets it.
@@ -797,6 +798,7 @@ local module = {
window = window,
winmeths = winmeths,
write_file = write_file,
+ trim = trim,
}
return function(after_each)