summaryrefslogtreecommitdiff
path: root/server-beta/test/other/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server-beta/test/other/init.lua')
-rw-r--r--server-beta/test/other/init.lua11
1 files changed, 0 insertions, 11 deletions
diff --git a/server-beta/test/other/init.lua b/server-beta/test/other/init.lua
deleted file mode 100644
index 069a2454..00000000
--- a/server-beta/test/other/init.lua
+++ /dev/null
@@ -1,11 +0,0 @@
-local fs = require 'bee.filesystem'
-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', absolute:string())
-elseif platform.OS == 'Linux' then
- assert(absolute:string():sub(-3) == '/a/', absolute:string())
-elseif platform.OS == 'macOS' then
- -- 不支持
-end