Added test case for inline diagram in config without code
This commit is contained in:
@@ -214,6 +214,9 @@ public:
|
||||
{
|
||||
ostr << "@startuml" << std::endl;
|
||||
|
||||
for (const auto &b : m_config.puml.before)
|
||||
ostr << b << std::endl;
|
||||
|
||||
for (const auto &c : m_model.classes) {
|
||||
generate_aliases(c, ostr);
|
||||
ostr << std::endl;
|
||||
@@ -229,6 +232,9 @@ public:
|
||||
ostr << std::endl;
|
||||
}
|
||||
|
||||
for (const auto &b : m_config.puml.after)
|
||||
ostr << b << std::endl;
|
||||
|
||||
ostr << "@enduml" << std::endl;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user