Expect test to fail until implemented.

This commit is contained in:
chriseth 2017-06-30 14:30:30 +02:00 committed by Alex Beregszaszi
parent e4bb767dcd
commit 44825d1c1e

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(