diff options
author | chriseth <chris@ethereum.org> | 2017-06-30 20:30:30 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-09-16 19:12:44 +0800 |
commit | 44825d1c1ecef6ea3fa27da6330c12dcf4279fb3 (patch) | |
tree | 44bbd955e7bb3107b390922fa427f1ec71fdb25a /test/libsolidity/SolidityEndToEndTest.cpp | |
parent | e4bb767dcdab6121f00933b5d6af64e029a9e93c (diff) | |
download | dexon-solidity-44825d1c1ecef6ea3fa27da6330c12dcf4279fb3.tar.gz dexon-solidity-44825d1c1ecef6ea3fa27da6330c12dcf4279fb3.tar.zst dexon-solidity-44825d1c1ecef6ea3fa27da6330c12dcf4279fb3.zip |
Expect test to fail until implemented.
Diffstat (limited to 'test/libsolidity/SolidityEndToEndTest.cpp')
-rw-r--r-- | test/libsolidity/SolidityEndToEndTest.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/libsolidity/SolidityEndToEndTest.cpp b/test/libsolidity/SolidityEndToEndTest.cpp index 3b657e39..393d3c64 100644 --- a/test/libsolidity/SolidityEndToEndTest.cpp +++ b/test/libsolidity/SolidityEndToEndTest.cpp @@ -9698,7 +9698,10 @@ BOOST_AUTO_TEST_CASE(return_structs) } } )"; - compileAndRun(sourceCode, 0, "C"); + // This will throw "unimplemented" until it is implemented. + BOOST_CHECK_THROW( + compileAndRun(sourceCode, 0, "C"), + Exception); // Will calculate the exact encoding later. // BOOST_CHECK(callContractFunction("f()") == encodeArgs( |