diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2016-11-15 18:12:03 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2016-11-15 18:30:33 +0800 |
commit | ae8403ed08cf3b2b5bec1d3f8da0c6c7425a4d5a (patch) | |
tree | a531dc8c33440f920c2dd1e2972969c4e96c49d4 /test/libsolidity | |
parent | 702ab4cb4f9344ce6d8fb1311db7c9fc94431386 (diff) | |
download | dexon-solidity-ae8403ed08cf3b2b5bec1d3f8da0c6c7425a4d5a.tar.gz dexon-solidity-ae8403ed08cf3b2b5bec1d3f8da0c6c7425a4d5a.tar.zst dexon-solidity-ae8403ed08cf3b2b5bec1d3f8da0c6c7425a4d5a.zip |
Rename ErrorTag to invalidJumpLabel in inline assembly
Diffstat (limited to 'test/libsolidity')
-rw-r--r-- | test/libsolidity/InlineAssembly.cpp | 2 | ||||
-rw-r--r-- | test/libsolidity/SolidityEndToEndTest.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/libsolidity/InlineAssembly.cpp b/test/libsolidity/InlineAssembly.cpp index a26e9470..185a6215 100644 --- a/test/libsolidity/InlineAssembly.cpp +++ b/test/libsolidity/InlineAssembly.cpp @@ -179,7 +179,7 @@ BOOST_AUTO_TEST_CASE(imbalanced_stack) BOOST_AUTO_TEST_CASE(error_tag) { - BOOST_CHECK(successAssemble("{ ErrorTag }")); + BOOST_CHECK(successAssemble("{ invalidJumpLabel }")); } BOOST_AUTO_TEST_SUITE_END() diff --git a/test/libsolidity/SolidityEndToEndTest.cpp b/test/libsolidity/SolidityEndToEndTest.cpp index e50c2a85..d8924250 100644 --- a/test/libsolidity/SolidityEndToEndTest.cpp +++ b/test/libsolidity/SolidityEndToEndTest.cpp @@ -7692,13 +7692,13 @@ BOOST_AUTO_TEST_CASE(packed_storage_overflow) BOOST_CHECK(callContractFunction("f()") == encodeArgs(u256(0x1234), u256(0), u256(0), u256(0xfffe))); } -BOOST_AUTO_TEST_CASE(inline_assembly_errortag) +BOOST_AUTO_TEST_CASE(inline_assembly_invalidjumplabel) { char const* sourceCode = R"( contract C { function f() { assembly { - jump(ErrorTag) + jump(invalidJumpLabel) } } } |