diff options
author | Alex Zolotarev <deathbaba@gmail.com> | 2011-11-15 20:57:57 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:28:00 +0300 |
commit | b8a1a7f8c81c1340c28416bd6c805f26a983af0b (patch) | |
tree | 7a7e30103091520774ca2ecc2910eb35954e92e5 /platform/platform_tests | |
parent | 26ca372425bdbd3e9357758350c03510e9dfa914 (diff) |
[qt] Do not clear files list in Platform::GetFilesInDir()
Diffstat (limited to 'platform/platform_tests')
-rw-r--r-- | platform/platform_tests/platform_test.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/platform_tests/platform_test.cpp b/platform/platform_tests/platform_test.cpp index c66cac2c3a..5b38d7c472 100644 --- a/platform/platform_tests/platform_test.cpp +++ b/platform/platform_tests/platform_test.cpp @@ -68,6 +68,8 @@ UNIT_TEST(GetFilesInDir) pl.GetFilesInDir(pl.WritableDir(), "*" DATA_FILE_EXTENSION, files); TEST_GREATER(files.size(), 0, ("/data/ folder should contain some data files")); + files.clear(); + pl.GetFilesInDir(pl.WritableDir(), "asdnonexistentfile.dsa", files); TEST_EQUAL(files.size(), 0, ()); } |