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:
commit
8b9130dc5d
1
tests/base/.testDotFile
Normal file
1
tests/base/.testDotFile
Normal file
@ -0,0 +1 @@
|
||||
This is a test file for os.matchfiles tests.
|
@ -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()
|
||||
|
Reference in New Issue
Block a user