diff --git a/test/helpers/file_helpers.cc b/test/helpers/file_helpers.cc index 48f58891..c4be549a 100644 --- a/test/helpers/file_helpers.cc +++ b/test/helpers/file_helpers.cc @@ -48,7 +48,7 @@ vector list_directory(const string &path) { vector result; WIN32_FIND_DATA search_data; - HANDLE handle = FindFirstFile(path.c_str(), &search_data); + HANDLE handle = FindFirstFile((path + "\\*").c_str(), &search_data); while (handle != INVALID_HANDLE_VALUE) { string name(search_data.cFileName); result.push_back(name);