Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keplerproject/luafilesystem.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorReuben Thomas <rrt@sc3d.org>2011-06-09 18:37:25 +0400
committerReuben Thomas <rrt@sc3d.org>2011-06-09 22:53:41 +0400
commit7e979318bd3d237b4fbf8da17b3ece75ac0343ba (patch)
tree3398daf611a3c99a4e0496beb6fceef91c7874ee /tests
parentde03ad370c2d25e07b39a62cf3456c3e616a1f1f (diff)
Use package.config to get directory separator.
Diffstat (limited to 'tests')
-rw-r--r--tests/test.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test.lua b/tests/test.lua
index 6eb9f70..81a0ab6 100644
--- a/tests/test.lua
+++ b/tests/test.lua
@@ -1,7 +1,7 @@
#!/usr/bin/env lua5.1
local tmp = "/tmp"
-local sep = "/"
+local sep = string.match (package.config, "[^\n]+")
local upper = ".."
require"lfs"