summaryrefslogtreecommitdiff
path: root/test/basic
diff options
context:
space:
mode:
Diffstat (limited to 'test/basic')
-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 3e5e9f25..99c28964 100644
--- a/test/basic/noder.lua
+++ b/test/basic/noder.lua
@@ -4,7 +4,7 @@ local util = require 'utility'
local guide = require 'parser.guide'
local function getSource(pos)
- local ast = files.getAst('')
+ local ast = files.getState('')
return guide.eachSourceContain(ast.ast, pos, function (source)
if source.type == 'local'
or source.type == 'getlocal'