summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-11-30 21:18:14 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-11-30 21:18:14 +0800
commit47e17129cd6d21eec1e8d9d402481153d4c8e0a3 (patch)
treeed1fc7ce90a707542432a2f545f3398a1cfac5a3 /test
parent8785f527f209607a3efe6c2762f6096b9cb14853 (diff)
downloadlua-language-server-47e17129cd6d21eec1e8d9d402481153d4c8e0a3.zip
support alias
Diffstat (limited to 'test')
-rw-r--r--test/completion/init.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/completion/init.lua b/test/completion/init.lua
index ab4a7b8a..ba6676eb 100644
--- a/test/completion/init.lua
+++ b/test/completion/init.lua
@@ -1874,3 +1874,10 @@ x = '$'
textEdit = EXISTS,
},
}
+
+TEST [[
+local t = type()
+
+print(t == $)
+]]
+(EXISTS)