Expect test to fail until implemented.

This commit is contained in:
chriseth
2017-09-16 12:12:44 +01:00
committed by Alex Beregszaszi
parent e4bb767dcd
commit 44825d1c1e
+4 -1
View File
@@ -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(