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

github.com/windirstat/premake-4.x-stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstarkos <none@none>2009-09-06 22:00:09 +0400
committerstarkos <none@none>2009-09-06 22:00:09 +0400
commitb539030aa5b419388e65fda45432e581a1be32b3 (patch)
treed0c6fb43e0d79492fe94af7c1139dcaee47d7465 /tests/base
parentd958932c2da813b72299c9303b44f6e4991e1d6a (diff)
Fixed source paths containing ..
Diffstat (limited to 'tests/base')
-rw-r--r--tests/base/test_tree.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/base/test_tree.lua b/tests/base/test_tree.lua
index 060ec2f..7435bd9 100644
--- a/tests/base/test_tree.lua
+++ b/tests/base/test_tree.lua
@@ -67,6 +67,14 @@
getresult())
end
+ function T.tree.SkipsDotDots()
+ tree.add(tr, "../MyProject/hello")
+ test.isequal(""
+ .. "MyProject"
+ .. ".hello",
+ getresult())
+ end
+
--
-- Tests for tree.getlocalpath()