Beautified the inheritance tests

This commit is contained in:
Patrick Urbanke
2024-04-18 20:12:32 +02:00
parent 3f4def672e
commit 4d2116ad4c
2 changed files with 8 additions and 4 deletions
+2 -2
View File
@@ -16,11 +16,11 @@ void test() {
const auto name = get<0>(rfl::fields<T>()).name();
if (name == "x") {
std::cout << "OK" << std::endl;
std::cout << "OK" << std::endl << std::endl;
} else {
std::cout << "FAIL\n"
<< "Expected member name 'x', got '" << name << "'" << std::endl;
}
}
} // namespace test_inheritance
} // namespace test_inheritance