From 44825d1c1ecef6ea3fa27da6330c12dcf4279fb3 Mon Sep 17 00:00:00 2001 From: chriseth Date: Fri, 30 Jun 2017 14:30:30 +0200 Subject: Expect test to fail until implemented. --- test/libsolidity/SolidityEndToEndTest.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test/libsolidity/SolidityEndToEndTest.cpp') 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( -- cgit