Updates compiled unit tests to new constructor syntax.

This commit is contained in:
Erik Kundt
2018-06-29 11:27:01 +02:00
parent c9cab80389
commit 12c4eb7697
9 changed files with 110 additions and 110 deletions
@@ -100,7 +100,7 @@ BOOST_AUTO_TEST_CASE(implement_abstract_via_constructor)
SourceUnit const* sourceUnit = nullptr;
char const* text = R"(
contract base { function foo(); }
contract foo is base { function foo() public {} }
contract foo is base { constructor() public {} }
)";
sourceUnit = parseAndAnalyse(text);
std::vector<ASTPointer<ASTNode>> nodes = sourceUnit->nodes();