summaryrefslogtreecommitdiff
path: root/server/test/hover
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-12-24 14:29:35 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-12-24 14:29:35 +0800
commit83b82470f1486493e5373501f1f69d8ca0b6e18f (patch)
tree6472321795e7df7e629f1163e711e2c051e8a523 /server/test/hover
parent6f09591a6e14b3fbc027c2389ece2803f9e2ffaa (diff)
downloadlua-language-server-83b82470f1486493e5373501f1f69d8ca0b6e18f.zip
进行一些算术运算
Diffstat (limited to 'server/test/hover')
-rw-r--r--server/test/hover/init.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/server/test/hover/init.lua b/server/test/hover/init.lua
index 445e72ba..71e839ae 100644
--- a/server/test/hover/init.lua
+++ b/server/test/hover/init.lua
@@ -216,3 +216,8 @@ t:<?add?>()
[[
function mt:add(a: any, b: any)
]]
+
+TEST [[
+local <?t?> = - 1000
+]]
+[[number t = -1000]]