diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-09-05 11:32:48 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-09-05 11:32:48 +0800 |
commit | 2dd41281796f3a504b5b5e8192bb109e1ffaf178 (patch) | |
tree | 3893a5018f8087be7d017e68170bf9b80c62d773 /server/test/other/init.lua | |
parent | 1b1629ac533e628ce301791a98010d9d67ac81c0 (diff) | |
download | lua-language-server-2dd41281796f3a504b5b5e8192bb109e1ffaf178.zip |
不用得了
Diffstat (limited to 'server/test/other/init.lua')
-rw-r--r-- | server/test/other/init.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/test/other/init.lua b/server/test/other/init.lua index 75f6ce83..069a2454 100644 --- a/server/test/other/init.lua +++ b/server/test/other/init.lua @@ -4,6 +4,8 @@ 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', absolute:string()) -else +elseif platform.OS == 'Linux' then assert(absolute:string():sub(-3) == '/a/', absolute:string()) +elseif platform.OS == 'macOS' then + -- 不支持 end |