diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-04-22 20:02:15 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-04-22 20:02:15 +0800 |
commit | 13616576be75acb7b26329142591a24cd8c52669 (patch) | |
tree | b3510de7b81b27b6018dc0eb2706a0e68f9b3667 /test/basic | |
parent | 7d4230b34f1f32d371ec3f644d8468368b45d2d3 (diff) | |
download | lua-language-server-13616576be75acb7b26329142591a24cd8c52669.zip |
cleanup
Diffstat (limited to 'test/basic')
-rw-r--r-- | test/basic/linker.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/basic/linker.lua b/test/basic/linker.lua index c4655191..d5525c40 100644 --- a/test/basic/linker.lua +++ b/test/basic/linker.lua @@ -38,7 +38,9 @@ local function TEST(script) local source = getSource(pos) assert(source) linker.compileLinks(source) - local result = linker.getLink(source) + local result = { + id = linker.getID(source), + } expect['id'] = expect['id']:gsub('|', '\x1F') @@ -127,7 +129,6 @@ function f() end ]] { id = 'g:"X"', - freturn = 1, } TEST [[ |