summaryrefslogtreecommitdiff
path: root/test/basic
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-05-19 16:53:09 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-05-19 16:53:09 +0800
commit47c5d45db515c33ec73ea1cd385c26412ee9768d (patch)
tree57ef3b1bcace81f472bf491bd89cf04e56555149 /test/basic
parent98f234842eca12334c5668d7a3511a068ed528d2 (diff)
downloadlua-language-server-47c5d45db515c33ec73ea1cd385c26412ee9768d.zip
rename link -> node
Diffstat (limited to 'test/basic')
-rw-r--r--test/basic/linker.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/basic/linker.lua b/test/basic/linker.lua
index d5525c40..3e5e9f25 100644
--- a/test/basic/linker.lua
+++ b/test/basic/linker.lua
@@ -1,4 +1,4 @@
-local linker = require 'core.linker'
+local noder = require 'core.noder'
local files = require 'files'
local util = require 'utility'
local guide = require 'parser.guide'
@@ -37,9 +37,9 @@ local function TEST(script)
files.setText('', newScript)
local source = getSource(pos)
assert(source)
- linker.compileLinks(source)
+ noder.compileNodes(source)
local result = {
- id = linker.getID(source),
+ id = noder.getID(source),
}
expect['id'] = expect['id']:gsub('|', '\x1F')