Fixing multiline comment parsing in solidity

This commit is contained in:
Lefteris Karapetsas 2014-11-28 00:06:38 +01:00
parent de5ca561f8
commit 2b30e1ef2c

View File

@ -153,7 +153,6 @@ BOOST_AUTO_TEST_CASE(multiple_functions_natspec_documentation)
BOOST_CHECK_EQUAL(function->getDocumentation(), " This is test function 4"); BOOST_CHECK_EQUAL(function->getDocumentation(), " This is test function 4");
} }
#if 0 /* Work in progress - currently fails*/
BOOST_AUTO_TEST_CASE(multiline_function_documentation) BOOST_AUTO_TEST_CASE(multiline_function_documentation)
{ {
ASTPointer<ContractDefinition> contract; ASTPointer<ContractDefinition> contract;
@ -172,7 +171,6 @@ BOOST_AUTO_TEST_CASE(multiline_function_documentation)
" This is a test function\n" " This is a test function\n"
" and it has 2 lines"); " and it has 2 lines");
} }
#endif
BOOST_AUTO_TEST_CASE(struct_definition) BOOST_AUTO_TEST_CASE(struct_definition)
{ {