test: move trim to global helpers

This commit is contained in:
Said Al Attrach
2019-03-30 18:14:20 +01:00
parent a9df3fa5d2
commit 2bf18e7843
4 changed files with 13 additions and 8 deletions

View File

@@ -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)