summaryrefslogtreecommitdiff
path: root/test/type_inference
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2024-09-05 18:31:06 +0800
committerGitHub <noreply@github.com>2024-09-05 18:31:06 +0800
commit30deedc444355d7940dedbc039a59e8cd8bc938a (patch)
tree8c9af81b66bbeb5febb7901126dfc0b5742a4a72 /test/type_inference
parentcd5ebb588118efa98dfe90f3ea485c00ea73c175 (diff)
parent08dd0ca8956c8ca53876a95142b4531e454c9e48 (diff)
downloadlua-language-server-30deedc444355d7940dedbc039a59e8cd8bc938a.zip
Merge branch 'master' into fix/type_narrow
Diffstat (limited to 'test/type_inference')
-rw-r--r--test/type_inference/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua
index 35900bc3..4eaad03d 100644
--- a/test/type_inference/init.lua
+++ b/test/type_inference/init.lua
@@ -39,7 +39,7 @@ function TEST(wanted)
if wanted ~= result then
vm.getInfer(source):view(TESTURI)
end
- assert(wanted == result)
+ assert(wanted == result, "Assertion failed! Wanted: " .. tostring(wanted) .. " Got: " .. tostring(result))
files.remove(TESTURI)
end
end