summaryrefslogtreecommitdiff
path: root/server/test/diagnostics/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/test/diagnostics/init.lua')
-rw-r--r--server/test/diagnostics/init.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/test/diagnostics/init.lua b/server/test/diagnostics/init.lua
index 57a54e4d..9d9c7424 100644
--- a/server/test/diagnostics/init.lua
+++ b/server/test/diagnostics/init.lua
@@ -1,4 +1,4 @@
-local matcher = require 'matcher'
+local core = require 'core'
local parser = require 'parser'
rawset(_G, 'TEST', true)
@@ -41,9 +41,9 @@ function TEST(script)
local ast = parser:ast(new_script)
assert(ast)
local lines = parser:lines(new_script)
- local vm = matcher.vm(ast)
+ local vm = core.vm(ast)
assert(vm)
- local datas = matcher.diagnostics(vm, lines, 'test')
+ local datas = core.diagnostics(vm, lines, 'test')
local results = {}
for i, data in ipairs(datas) do
results[i] = { data.start, data.finish }