aboutsummaryrefslogtreecommitdiff
path: root/test/unit/formatc.lua
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2017-01-03 16:25:04 +0300
committerZyX <kp-pav@yandex.ru>2017-01-03 22:54:54 +0300
commit2151ddbd73a78fcecc992f58f036b8f765a9113e (patch)
tree47d08b3d9ce20546c8789888d1a151311352d041 /test/unit/formatc.lua
parent0d7b779cab198c89b70bf9d1e6d42cffc3f28f50 (diff)
downloadrneovim-2151ddbd73a78fcecc992f58f036b8f765a9113e.tar.gz
rneovim-2151ddbd73a78fcecc992f58f036b8f765a9113e.tar.bz2
rneovim-2151ddbd73a78fcecc992f58f036b8f765a9113e.zip
unittest: Move nil checks to Gcc:preprocess
Diffstat (limited to 'test/unit/formatc.lua')
-rw-r--r--test/unit/formatc.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/unit/formatc.lua b/test/unit/formatc.lua
index e5ac87032a..e288081960 100644
--- a/test/unit/formatc.lua
+++ b/test/unit/formatc.lua
@@ -221,10 +221,6 @@ local function standalone(...) -- luacheck: ignore
local raw = Preprocess.preprocess('', arg[1])
- if raw == nil then
- print("ERROR: Preprocess.preprocess() returned empty")
- end
-
local formatted
if #arg == 2 and arg[2] == 'no' then
formatted = raw