diff options
author | Sergey Yershov <yershov@corp.mail.ru> | 2016-01-27 12:52:45 +0300 |
---|---|---|
committer | Sergey Yershov <yershov@corp.mail.ru> | 2016-03-23 16:15:58 +0300 |
commit | c4e0087fc7c937e5a0ccca285019c92d3080554e (patch) | |
tree | ac63abb28b388586b6cca88a13c2f2519d1ccffa /platform | |
parent | 0d80d85e47d5c44092acd0f96d9ce9da51ddb87d (diff) |
Fix GetFilesInDir_Smoke test
Diffstat (limited to 'platform')
-rw-r--r-- | platform/platform_tests/platform_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/platform_tests/platform_test.cpp b/platform/platform_tests/platform_test.cpp index be2c93c7c7..703089df5f 100644 --- a/platform/platform_tests/platform_test.cpp +++ b/platform/platform_tests/platform_test.cpp @@ -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, ()); |