CREATE2 test fix.

This commit is contained in:
chriseth 2018-02-23 19:29:57 +01:00
parent 1e26011d2c
commit 7b0272ccfb

View File

@ -7099,7 +7099,7 @@ BOOST_AUTO_TEST_CASE(create2_as_variable)
)";
CHECK_ALLOW_MULTI(text, (std::vector<std::pair<Error::Type, std::string>>{
{Error::Type::Warning, "Variable is shadowed in inline assembly by an instruction of the same name"},
{Error::Type::Warning, "only available after the Metropolis"},
{Error::Type::Warning, "The \"create2\" instruction is not supported by the VM version"},
{Error::Type::DeclarationError, "Unbalanced stack"}
}));
}