summaryrefslogtreecommitdiff
path: root/server/test/diagnostics
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-12-21 18:32:56 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-12-21 18:32:56 +0800
commit8de0c9246ada8f823f6abb1edde38c5768af19fa (patch)
treeb618420a970839dba69f0385d4695f97e0913387 /server/test/diagnostics
parent320680b3529d2d4be84c13ac5ca6d728c6c5621c (diff)
downloadlua-language-server-8de0c9246ada8f823f6abb1edde38c5768af19fa.zip
用一个专用函数实现,以免影响别人
Diffstat (limited to 'server/test/diagnostics')
-rw-r--r--server/test/diagnostics/init.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/test/diagnostics/init.lua b/server/test/diagnostics/init.lua
index 9ea8b4bd..4fb15448 100644
--- a/server/test/diagnostics/init.lua
+++ b/server/test/diagnostics/init.lua
@@ -143,6 +143,10 @@ instanceName = 1
instance = _G[instanceName]
]]
+TEST [[
+(''):sub(1, 2)
+]]
+
-- TODO
--TEST [=[
--return [[