Introduce AST node for structured documentation.

This commit is contained in:
Erik Kundt
2020-01-30 18:25:56 +01:00
parent e41155cf48
commit ec27c2e507
13 changed files with 147 additions and 59 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ void checkFunctionNatspec(
std::string const& _expectedDoc
)
{
auto doc = _function->documentation();
auto doc = _function->documentation()->text();
BOOST_CHECK_MESSAGE(doc != nullptr, "Function does not have Natspec Doc as expected");
BOOST_CHECK_EQUAL(*doc, _expectedDoc);
}