aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-06-30 20:30:30 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-09-16 19:12:44 +0800
commit44825d1c1ecef6ea3fa27da6330c12dcf4279fb3 (patch)
tree44bbd955e7bb3107b390922fa427f1ec71fdb25a
parente4bb767dcdab6121f00933b5d6af64e029a9e93c (diff)
downloaddexon-solidity-44825d1c1ecef6ea3fa27da6330c12dcf4279fb3.tar.gz
dexon-solidity-44825d1c1ecef6ea3fa27da6330c12dcf4279fb3.tar.zst
dexon-solidity-44825d1c1ecef6ea3fa27da6330c12dcf4279fb3.zip
Expect test to fail until implemented.
-rw-r--r--test/libsolidity/SolidityEndToEndTest.cpp5
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(