diff options
author | ZyX <kp-pav@yandex.ru> | 2017-01-03 08:57:43 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2017-01-03 22:54:54 +0300 |
commit | 0d7b779cab198c89b70bf9d1e6d42cffc3f28f50 (patch) | |
tree | 45324590a09ee5fc289b12195eed9d614975a6df /test/unit/formatc.lua | |
parent | 410d18ef5c24a325f4d63c9b01991015199194c2 (diff) | |
download | rneovim-0d7b779cab198c89b70bf9d1e6d42cffc3f28f50.tar.gz rneovim-0d7b779cab198c89b70bf9d1e6d42cffc3f28f50.tar.bz2 rneovim-0d7b779cab198c89b70bf9d1e6d42cffc3f28f50.zip |
unittest: Record previous defines in another place
Previous commit made preprocess.lua know how its output will be used. This moves
state to cimport, making only it know which is cleaner.
Diffstat (limited to 'test/unit/formatc.lua')
-rw-r--r-- | test/unit/formatc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/formatc.lua b/test/unit/formatc.lua index 9b47a318f0..e5ac87032a 100644 --- a/test/unit/formatc.lua +++ b/test/unit/formatc.lua @@ -219,7 +219,7 @@ local function standalone(...) -- luacheck: ignore Preprocess.add_to_include_path('./../../build/include') Preprocess.add_to_include_path('./../../.deps/usr/include') - local raw = Preprocess.preprocess(arg[1]) + local raw = Preprocess.preprocess('', arg[1]) if raw == nil then print("ERROR: Preprocess.preprocess() returned empty") |