fix rendering errors

This commit is contained in:
Konstantin Käfer
2014-12-11 11:58:46 +01:00
parent f8ba23377d
commit febfb7ac09
6 changed files with 33 additions and 31 deletions

View File

@@ -220,7 +220,7 @@ INSTANTIATE_TEST_CASE_P(Headless, HeadlessTest, ::testing::ValuesIn([] {
for (dirent *dp = nullptr; (dp = readdir(dir)) != nullptr;) {
const std::string name = dp->d_name;
if (name != "." && name != ".." && name != "index.html") {
if (name != "index.html" && !(name.size() >= 1 && name[0] == '.')) {
names.push_back(name);
}
}