diff options
author | Federico Bond <federicobond@gmail.com> | 2017-11-09 11:02:39 +0800 |
---|---|---|
committer | Federico Bond <federicobond@gmail.com> | 2017-11-23 10:08:12 +0800 |
commit | 14fd647b852146cd885426d04bffffbd1b7c08a0 (patch) | |
tree | 70ed23ccdcd5c0d29248f8e6292fa138ab05cdce /test/libsolidity/SolidityEndToEndTest.cpp | |
parent | dc154b4e5661945ca9c98720e097e84729a528be (diff) | |
download | dexon-solidity-14fd647b852146cd885426d04bffffbd1b7c08a0.tar.gz dexon-solidity-14fd647b852146cd885426d04bffffbd1b7c08a0.tar.zst dexon-solidity-14fd647b852146cd885426d04bffffbd1b7c08a0.zip |
Fix event parsing. Refs #3175
Diffstat (limited to 'test/libsolidity/SolidityEndToEndTest.cpp')
-rw-r--r-- | test/libsolidity/SolidityEndToEndTest.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/libsolidity/SolidityEndToEndTest.cpp b/test/libsolidity/SolidityEndToEndTest.cpp index 9a837113..7082b702 100644 --- a/test/libsolidity/SolidityEndToEndTest.cpp +++ b/test/libsolidity/SolidityEndToEndTest.cpp @@ -2953,7 +2953,7 @@ BOOST_AUTO_TEST_CASE(event_no_arguments) { char const* sourceCode = R"( contract ClientReceipt { - event Deposit; + event Deposit(); function deposit() { Deposit(); } @@ -2995,7 +2995,7 @@ BOOST_AUTO_TEST_CASE(events_with_same_name) { char const* sourceCode = R"( contract ClientReceipt { - event Deposit; + event Deposit(); event Deposit(address _addr); event Deposit(address _addr, uint _amount); function deposit() returns (uint) { @@ -3041,7 +3041,7 @@ BOOST_AUTO_TEST_CASE(events_with_same_name_inherited) { char const* sourceCode = R"( contract A { - event Deposit; + event Deposit(); } contract B { |