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:
authorJason Perkins <starkos@industriousone.com>2010-10-13 14:45:06 +0400
committerJason Perkins <starkos@industriousone.com>2010-10-13 14:45:06 +0400
commitf0ee25f4531408b5f9c5f09af5a39d42b0ad9f71 (patch)
tree61cc4397017d855838e82adbdc43b8fb456ddab4 /tests/base
parentbeeceed473ed53e0ebf5b56974220a8022d53805 (diff)
Bug 3035545: The pattern { "./folder/*.c" } matches no files
Diffstat (limited to 'tests/base')
-rw-r--r--tests/base/test_os.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/base/test_os.lua b/tests/base/test_os.lua
index 1fce260..9bcd230 100644
--- a/tests/base/test_os.lua
+++ b/tests/base/test_os.lua
@@ -73,6 +73,11 @@
test.istrue(table.contains(result, "folder/ok.lua"))
test.isfalse(table.contains(result, "folder/ok.lua.2"))
end
+
+ function suite.matchfiles_OnLeadingDotSlashWithPath()
+ local result = os.matchfiles("./folder/*.lua")
+ test.istrue(table.contains(result, "folder/ok.lua"))
+ end