Added unit test for new search ability
This commit is contained in:
parent
14d94bf319
commit
072b47eb56
@ -109,6 +109,10 @@
|
||||
test.istrue(table.contains(result, "../.gitignore"))
|
||||
end
|
||||
|
||||
function suite.matchfiles_onComboSearch()
|
||||
local result = os.matchfiles("folder/**/*.txt")
|
||||
test.istrue(table.contains(result, "folder/subfolder/hello.txt"))
|
||||
end
|
||||
|
||||
|
||||
--
|
||||
|
1
tests/folder/subfolder/hello.txt
Normal file
1
tests/folder/subfolder/hello.txt
Normal file
@ -0,0 +1 @@
|
||||
Hi there!
|
Loading…
Reference in New Issue
Block a user