Searched refs:expected_matches (Results 1 – 1 of 1) sorted by relevance
211 static void CheckGlob(const char* pattern, const std::vector<std::string>& expected_matches) { in CheckGlob() argument215 int expected_result = expected_matches.empty() ? GLOB_NOMATCH : 0; in CheckGlob()217 ASSERT_EQ(expected_matches.size(), g.gl_pathc); in CheckGlob()218 ASSERT_MATCH_COUNT(expected_matches.size(), g); in CheckGlob()219 for (size_t i = 0; i < expected_matches.size(); ++i) { in CheckGlob()220 ASSERT_EQ(expected_matches[i], g.gl_pathv[i]); in CheckGlob()222 if (!expected_matches.empty()) { in CheckGlob()223 ASSERT_EQ(nullptr, g.gl_pathv[expected_matches.size()]); in CheckGlob()