mirror of
https://github.com/neovim/neovim.git
synced 2026-04-20 22:35:33 +00:00
unittest: Move nil checks to Gcc:preprocess
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user