mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Use ABI_CHECK for event data comparison.
This commit is contained in:
parent
164a51eeae
commit
87ebb16890
@ -41,7 +41,7 @@ namespace test
|
||||
#define REQUIRE_LOG_DATA(DATA) do { \
|
||||
BOOST_REQUIRE_EQUAL(m_logs.size(), 1); \
|
||||
BOOST_CHECK_EQUAL(m_logs[0].address, m_contractAddress); \
|
||||
BOOST_CHECK_EQUAL(toHex(m_logs[0].data), toHex(DATA)); \
|
||||
ABI_CHECK(m_logs[0].data, DATA); \
|
||||
} while (false)
|
||||
|
||||
BOOST_FIXTURE_TEST_SUITE(ABIEncoderTest, SolidityExecutionFramework)
|
||||
|
Loading…
Reference in New Issue
Block a user