diff options
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 |