summaryrefslogtreecommitdiff
path: root/server/test/other/init.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-09-05 10:58:05 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-09-05 10:58:05 +0800
commit9ae3e55dbf679bca37d6ddd51cdd13f547b71f1c (patch)
treee96daaae66b6d66990eeee75b216dc1ecf8e0276 /server/test/other/init.lua
parent48d2b53e46f03e32aafef87bde8c38734647754f (diff)
downloadlua-language-server-9ae3e55dbf679bca37d6ddd51cdd13f547b71f1c.zip
康康
Diffstat (limited to 'server/test/other/init.lua')
-rw-r--r--server/test/other/init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/test/other/init.lua b/server/test/other/init.lua
index 17283455..75f6ce83 100644
--- a/server/test/other/init.lua
+++ b/server/test/other/init.lua
@@ -3,7 +3,7 @@ local platform = require 'bee.platform'
local path = fs.path '/a/b/c/d/e/../../../..'
local absolute = fs.absolute(path)
if platform.OS == 'Windows' then
- assert(absolute:string():sub(-2) == '/a')
+ assert(absolute:string():sub(-2) == '/a', absolute:string())
else
- assert(absolute:string():sub(-3) == '/a/')
+ assert(absolute:string():sub(-3) == '/a/', absolute:string())
end