Switched test case alias matcher to regex

This commit is contained in:
Bartek Kryza
2022-01-24 21:01:31 +01:00
parent 4aedc6e330
commit 48e00dd094
3 changed files with 47 additions and 14 deletions

View File

@@ -90,9 +90,9 @@ void generator::generate_relationships(
for (const auto &r : p.relationships()) {
std::stringstream relstr;
try {
relstr << m_model.to_alias(ns_relative(uns, r.destination()))
<< " <.. "
<< m_model.to_alias(ns_relative(uns, p.full_name(false)))
relstr << m_model.to_alias(ns_relative(uns, p.full_name(false)))
<< " ..> "
<< m_model.to_alias(ns_relative(uns, r.destination()))
<< '\n';
ostr << relstr.str();
}