diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2024-09-05 18:31:06 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-05 18:31:06 +0800 |
commit | 30deedc444355d7940dedbc039a59e8cd8bc938a (patch) | |
tree | 8c9af81b66bbeb5febb7901126dfc0b5742a4a72 /test/type_inference | |
parent | cd5ebb588118efa98dfe90f3ea485c00ea73c175 (diff) | |
parent | 08dd0ca8956c8ca53876a95142b4531e454c9e48 (diff) | |
download | lua-language-server-30deedc444355d7940dedbc039a59e8cd8bc938a.zip |
Merge branch 'master' into fix/type_narrow
Diffstat (limited to 'test/type_inference')
-rw-r--r-- | test/type_inference/init.lua | 2 |
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 |