test: Adapts InlineAssembly test case for jump instruction (which doesn't "exist" in strict assembly).

This commit is contained in:
Christian Parpart
2019-10-28 10:03:16 +01:00
parent f45c3124f8
commit 30a99e0df4
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -742,8 +742,8 @@ BOOST_AUTO_TEST_CASE(shift_constantinople_warning)
BOOST_AUTO_TEST_CASE(jump_error)
{
CHECK_PARSE_WARNING("{ jump(44) }", SyntaxError, "Jump instructions and labels are low-level EVM features");
CHECK_PARSE_WARNING("{ jumpi(44, 2) }", SyntaxError, "Jump instructions and labels are low-level EVM features");
CHECK_PARSE_WARNING("{ jump(44) }", DeclarationError, "Function not found.");
CHECK_PARSE_WARNING("{ jumpi(44, 2) }", DeclarationError, "Function not found.");
}
BOOST_AUTO_TEST_SUITE_END()