summaryrefslogtreecommitdiff
path: root/server/test
diff options
context:
space:
mode:
Diffstat (limited to 'server/test')
-rw-r--r--server/test/type_inference/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/test/type_inference/init.lua b/server/test/type_inference/init.lua
index 47e94760..0962c20d 100644
--- a/server/test/type_inference/init.lua
+++ b/server/test/type_inference/init.lua
@@ -14,7 +14,7 @@ function TEST(res)
assert(vm)
local result = core.findResult(vm, pos)
assert(result)
- assert(res == result.value.type)
+ assert(res == result.value:getType())
end
end