diff options
Diffstat (limited to 'test/ffi/builder.lua')
-rw-r--r-- | test/ffi/builder.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ffi/builder.lua b/test/ffi/builder.lua index 0730abcf..47e39db3 100644 --- a/test/ffi/builder.lua +++ b/test/ffi/builder.lua @@ -1,4 +1,4 @@ -local luajit = require 'LuaJIT' +local ffi = require 'plugins.ffi' local util = require 'utility' rawset(_G, 'TEST', true) @@ -34,7 +34,7 @@ end function TEST(wanted) wanted = removeEmpty(splitLines(wanted)) return function (script) - local lines = formatLines(luajit.compileCodes({ script })) + local lines = formatLines(ffi.compileCodes({ script })) assert(util.equal(wanted, lines), util.dump(lines)) end end |