diff options
Diffstat (limited to 'test/plugins')
-rw-r--r-- | test/plugins/ffi/test.lua | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/test/plugins/ffi/test.lua b/test/plugins/ffi/test.lua index 2a232192..68cec156 100644 --- a/test/plugins/ffi/test.lua +++ b/test/plugins/ffi/test.lua @@ -8,16 +8,15 @@ local template = require 'config.template' template['Lua.runtime.version'].default = 'LuaJIT' - ---@async local function TestBuilder() - local builder = require 'plugins.ffi'.initBuilder() + local builder = require 'core.command.reloadFFIMeta' files.setText(TESTURI, [[ local ffi = require 'ffi' ffi.cdef 'void test();' ]]) - - builder(TESTURI) + local uri = ws.getFirstScope().uri + builder(uri) end ---@async |