Update test expection in use_stack_optimization with YulException

This commit is contained in:
Alex Beregszaszi 2019-12-03 19:06:04 +01:00
parent 9140a7d64e
commit c644f43cde

View File

@ -1199,7 +1199,9 @@ BOOST_AUTO_TEST_CASE(use_stack_optimization)
result = compiler.compile(parsedInput);
BOOST_REQUIRE(result["errors"].isArray());
BOOST_CHECK(result["errors"][0]["severity"] == "error");
BOOST_CHECK(result["errors"][0]["type"] == "InternalCompilerError");
BOOST_REQUIRE(result["errors"][0]["message"].isString());
BOOST_CHECK(result["errors"][0]["message"].asString().find("Stack too deep when compiling inline assembly") != std::string::npos);
BOOST_CHECK(result["errors"][0]["type"] == "YulException");
}
BOOST_AUTO_TEST_CASE(standard_output_selection_wildcard)