summaryrefslogtreecommitdiff
path: root/test/basic/noder.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-09-14 20:43:33 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-09-14 20:43:33 +0800
commit5a072004414ff1f8de416c62a4067774f72e7097 (patch)
tree098b490fadec58205a1c8f944ec590c957e86a1c /test/basic/noder.lua
parent4d1b606cc875803cc07031c63cde351300ea664a (diff)
downloadlua-language-server-5a072004414ff1f8de416c62a4067774f72e7097.zip
cleanup
Diffstat (limited to 'test/basic/noder.lua')
-rw-r--r--test/basic/noder.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/basic/noder.lua b/test/basic/noder.lua
index 4c0a1620..87b34e12 100644
--- a/test/basic/noder.lua
+++ b/test/basic/noder.lua
@@ -33,7 +33,7 @@ local function TEST(script)
files.removeAll()
local newScript, catched = catch(script, '?')
files.setText('', newScript)
- local source = getSource(catched[1][1])
+ local source = getSource(catched['?'][1][1])
assert(source)
local result = {
id = noder.getID(source),