mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Introduce AST node for structured documentation.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user