aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/unit/helpers.lua6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/unit/helpers.lua b/test/unit/helpers.lua
index b8c1c5fc16..20fdf6f85d 100644
--- a/test/unit/helpers.lua
+++ b/test/unit/helpers.lua
@@ -96,8 +96,6 @@ cimportstr = function(body)
print(lnum, line)
end
end
- body = body:gsub('//.*', '')
- body = body:gsub('/%*.*%*/', '')
body = formatc(body)
body = filter_complex_blocks(body)
@@ -139,10 +137,6 @@ cimportstr = function(body)
return libnvim
end
-ffi.cdef = cimportstr
-local syscall = require('syscall')
-ffi.cdef = cdef
-
local function cppimport(path)
return cimport(Paths.test_include_path .. '/' .. path)
end