diff options
Diffstat (limited to 'test/type_inference/init.lua')
-rw-r--r-- | test/type_inference/init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua index e687afe1..1a2c4593 100644 --- a/test/type_inference/init.lua +++ b/test/type_inference/init.lua @@ -31,9 +31,9 @@ function TEST(wanted) files.setText('', newScript) local source = getSource(catched['?'][1][1]) assert(source) - local result = infer.viewType(source) + local result = infer.getInfer(source):view() if wanted ~= result then - infer.viewType(source) + infer.getInfer(source):view() end assert(wanted == result) files.remove('') |