Merge pull request #613 from LORgames/ssurtees/dotFileFix

Added a test dot file instead of relying on .gitignore to be shipped
This commit is contained in:
Tom van Dijck 2016-11-03 10:07:02 -07:00 committed by GitHub
commit 8b9130dc5d
2 changed files with 3 additions and 2 deletions

1
tests/base/.testDotFile Normal file
View File

@ -0,0 +1 @@
This is a test file for os.matchfiles tests.

View File

@ -105,8 +105,8 @@
end
function suite.matchfiles_OnDottedFile()
local result = os.matchfiles("../.*")
test.istrue(table.contains(result, "../.gitignore"))
local result = os.matchfiles("base/.*")
test.istrue(table.contains(result, "base/.testDotFile"))
end
function suite.matchfiles_onComboSearch()