summaryrefslogtreecommitdiff
path: root/server/test/other/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/test/other/init.lua')
-rw-r--r--server/test/other/init.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/test/other/init.lua b/server/test/other/init.lua
new file mode 100644
index 00000000..ce360e51
--- /dev/null
+++ b/server/test/other/init.lua
@@ -0,0 +1,4 @@
+local fs = require 'bee.filesystem'
+local path = fs.path '/a/b/c/d/e/../../../..'
+local absolute = fs.absolute(path)
+assert(absolute:string():sub(-2) == '/a')