forked from organicmaps/organicmaps
Fix GetFilesInDir_Smoke test
This commit is contained in:
parent
0d80d85e47
commit
c4e0087fc7
1 changed files with 2 additions and 2 deletions
|
@ -93,10 +93,10 @@ UNIT_TEST(GetFilesInDir_Smoke)
|
|||
Platform & pl = GetPlatform();
|
||||
Platform::FilesList files1, files2;
|
||||
|
||||
string const dir = pl.WritableDir();
|
||||
string const dir = pl.ResourcesDir();
|
||||
|
||||
pl.GetFilesByExt(dir, DATA_FILE_EXTENSION, files1);
|
||||
TEST_GREATER(files1.size(), 0, ("/data/ folder should contain some data files"));
|
||||
TEST_GREATER(files1.size(), 0, (dir, "folder should contain some data files"));
|
||||
|
||||
pl.GetFilesByRegExp(dir, ".*\\" DATA_FILE_EXTENSION "$", files2);
|
||||
TEST_EQUAL(files1, files2, ());
|
||||
|
|
Loading…
Add table
Reference in a new issue