Skip to content
Snippets Groups Projects
Commit f2812754 authored by cont-integration's avatar cont-integration
Browse files

[skip ci] applied clang format

parent d2a70ccc
No related branches found
No related tags found
1 merge request!448Draft: Resolve "Implementation of new nodes creation"
Pipeline #18767 skipped
This commit is part of merge request !448. Comments created here will be created in the context of that merge request.
...@@ -125,7 +125,7 @@ TEST(Schema, validate_all_schemas) ...@@ -125,7 +125,7 @@ TEST(Schema, validate_all_schemas)
TEST(Schema, duplicated_schemas) TEST(Schema, duplicated_schemas)
{ {
std::map<std::string, std::string> schemas_found; std::map<std::string, std::string> schemas_found;
unsigned int n_duplicated = 0; unsigned int n_duplicated = 0;
for (auto const& entry : filesystem::recursive_directory_iterator(wolf_dir)) for (auto const& entry : filesystem::recursive_directory_iterator(wolf_dir))
{ {
if (filesystem::is_regular_file(entry) and entry.path().extension().string() == ".schema") if (filesystem::is_regular_file(entry) and entry.path().extension().string() == ".schema")
...@@ -142,7 +142,8 @@ TEST(Schema, duplicated_schemas) ...@@ -142,7 +142,8 @@ TEST(Schema, duplicated_schemas)
} }
ASSERT_EQ(n_duplicated, 0); ASSERT_EQ(n_duplicated, 0);
WOLF_INFO_COND(n_duplicated == 0, "Found ", schemas_found.size(), " schema files."); WOLF_INFO_COND(n_duplicated == 0, "Found ", schemas_found.size(), " schema files.");
WOLF_ERROR_COND(n_duplicated != 0, "Found ", n_duplicated, " duplicated schemas in ", schemas_found.size(), " schema files."); WOLF_ERROR_COND(
n_duplicated != 0, "Found ", n_duplicated, " duplicated schemas in ", schemas_found.size(), " schema files.");
} }
int main(int argc, char** argv) int main(int argc, char** argv)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment