diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-12-06 04:27:50 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-12-06 04:27:50 +0800 |
commit | d57afb20fa32be3d5575b8c5dcd98f39ce4e90d0 (patch) | |
tree | 1023bdac90db22e566d51ba9dd6e6182c82f055e /test/libsolidity | |
parent | 793537e08926190728e93a666a5fadc6d0765f63 (diff) | |
download | dexon-solidity-d57afb20fa32be3d5575b8c5dcd98f39ce4e90d0.tar.gz dexon-solidity-d57afb20fa32be3d5575b8c5dcd98f39ce4e90d0.tar.zst dexon-solidity-d57afb20fa32be3d5575b8c5dcd98f39ce4e90d0.zip |
Fix warning test for jumps in assembly
Diffstat (limited to 'test/libsolidity')
-rw-r--r-- | test/libsolidity/InlineAssembly.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/libsolidity/InlineAssembly.cpp b/test/libsolidity/InlineAssembly.cpp index 506721c1..82bafd49 100644 --- a/test/libsolidity/InlineAssembly.cpp +++ b/test/libsolidity/InlineAssembly.cpp @@ -712,8 +712,8 @@ BOOST_AUTO_TEST_CASE(jump_warning) { CHECK_PARSE_WARNING("{ 1 jump }", Warning, "Jump instructions"); CHECK_PARSE_WARNING("{ 1 2 jumpi }", Warning, "Jump instructions"); - CHECK_PARSE_WARNING("{ a: jump(a) }", Warning, "Jump instructions"); - CHECK_PARSE_WARNING("{ a: jumpi(a, 2) }", Warning, "Jump instructions"); + CHECK_PARSE_WARNING("{ jump(44) }", Warning, "Jump instructions"); + CHECK_PARSE_WARNING("{ jumpi(44, 2) }", Warning, "Jump instructions"); CHECK_PARSE_WARNING("{ a: }", Warning, "Jump instructions"); } |