diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2018-12-28 15:36:56 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2018-12-28 15:36:56 +0800 |
commit | a080b2516d2ce2efb65ad0fd26126cdfa6f6e4f8 (patch) | |
tree | b5672e03d11a43a56b63fe02d7b685eacd21ace4 /server/test/vm | |
parent | 549f6dd7ce8c733f9b51f5e93b3f14c1e2a44aca (diff) | |
download | lua-language-server-a080b2516d2ce2efb65ad0fd26126cdfa6f6e4f8.zip |
matcher -> core
Diffstat (limited to 'server/test/vm')
-rw-r--r-- | server/test/vm/example.lua | 2 | ||||
-rw-r--r-- | server/test/vm/init.lua | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/server/test/vm/example.lua b/server/test/vm/example.lua index 39ef4f4b..3b040a32 100644 --- a/server/test/vm/example.lua +++ b/server/test/vm/example.lua @@ -1 +1 @@ -TEST(io.load(ROOT / 'src' / 'matcher' / 'vm.lua')) +TEST(io.load(ROOT / 'src' / 'core' / 'vm.lua')) diff --git a/server/test/vm/init.lua b/server/test/vm/init.lua index a95373f1..6e7dc3ac 100644 --- a/server/test/vm/init.lua +++ b/server/test/vm/init.lua @@ -1,4 +1,4 @@ -local matcher = require 'matcher' +local core = require 'core' local parser = require 'parser' rawset(_G, 'TEST', true) @@ -6,7 +6,7 @@ rawset(_G, 'TEST', true) function TEST(script) local ast = parser:ast(script) assert(ast) - local vm = matcher.vm(ast) + local vm = core.vm(ast) assert(vm) local results = vm.results assert(results) |