diff options
author | Erik Kundt <bitshift@posteo.org> | 2018-06-27 19:22:33 +0800 |
---|---|---|
committer | Erik Kundt <bitshift@posteo.org> | 2018-06-29 17:27:01 +0800 |
commit | 12c4eb769762d55a71ba05cf1b74b99797026f51 (patch) | |
tree | 821de9d9c03984aac3d60844c929792816e8bf1a /test/libsolidity/SolidityCompiler.cpp | |
parent | c9cab803892a09386617faab6b4e1580ee2eaa47 (diff) | |
download | dexon-solidity-12c4eb769762d55a71ba05cf1b74b99797026f51.tar.gz dexon-solidity-12c4eb769762d55a71ba05cf1b74b99797026f51.tar.zst dexon-solidity-12c4eb769762d55a71ba05cf1b74b99797026f51.zip |
Updates compiled unit tests to new constructor syntax.
Diffstat (limited to 'test/libsolidity/SolidityCompiler.cpp')
-rw-r--r-- | test/libsolidity/SolidityCompiler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/SolidityCompiler.cpp b/test/libsolidity/SolidityCompiler.cpp index 90540f3e..3348bac5 100644 --- a/test/libsolidity/SolidityCompiler.cpp +++ b/test/libsolidity/SolidityCompiler.cpp @@ -38,7 +38,7 @@ BOOST_AUTO_TEST_CASE(does_not_include_creation_time_only_internal_functions) char const* sourceCode = R"( contract C { uint x; - function C() { f(); } + constructor() { f(); } function f() internal { for (uint i = 0; i < 10; ++i) x += 3 + i; } } )"; |