diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-06-09 21:49:59 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-09 21:49:59 +0800 |
commit | fe3b46554af07b35f84ca48264830f8c27d4e52e (patch) | |
tree | c125b8c0ffe3a9b49bb366dc12f80fd841aac9ad /test/libsolidity/InlineAssembly.cpp | |
parent | 32dc5383691fd86e67b11d77d1b333f9715491c5 (diff) | |
parent | bf2b5c746ab92d1227c5a4d1f6c7458b2450faa1 (diff) | |
download | dexon-solidity-fe3b46554af07b35f84ca48264830f8c27d4e52e.tar dexon-solidity-fe3b46554af07b35f84ca48264830f8c27d4e52e.tar.gz dexon-solidity-fe3b46554af07b35f84ca48264830f8c27d4e52e.tar.bz2 dexon-solidity-fe3b46554af07b35f84ca48264830f8c27d4e52e.tar.lz dexon-solidity-fe3b46554af07b35f84ca48264830f8c27d4e52e.tar.xz dexon-solidity-fe3b46554af07b35f84ca48264830f8c27d4e52e.tar.zst dexon-solidity-fe3b46554af07b35f84ca48264830f8c27d4e52e.zip |
Merge pull request #2362 from ethereum/lowercase_instructions
Use lowercase when reporting instruction error.
Diffstat (limited to 'test/libsolidity/InlineAssembly.cpp')
-rw-r--r-- | test/libsolidity/InlineAssembly.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/libsolidity/InlineAssembly.cpp b/test/libsolidity/InlineAssembly.cpp index 3db07184..d2d320db 100644 --- a/test/libsolidity/InlineAssembly.cpp +++ b/test/libsolidity/InlineAssembly.cpp @@ -330,13 +330,13 @@ BOOST_AUTO_TEST_CASE(invalid_tuple_assignment) BOOST_AUTO_TEST_CASE(instruction_too_few_arguments) { - CHECK_PARSE_ERROR("{ mul() }", ParserError, "Expected expression (MUL expects 2 arguments)"); - CHECK_PARSE_ERROR("{ mul(1) }", ParserError, "Expected comma (MUL expects 2 arguments)"); + CHECK_PARSE_ERROR("{ mul() }", ParserError, "Expected expression (\"mul\" expects 2 arguments)"); + CHECK_PARSE_ERROR("{ mul(1) }", ParserError, "Expected comma (\"mul\" expects 2 arguments)"); } BOOST_AUTO_TEST_CASE(instruction_too_many_arguments) { - CHECK_PARSE_ERROR("{ mul(1, 2, 3) }", ParserError, "Expected ')' (MUL expects 2 arguments)"); + CHECK_PARSE_ERROR("{ mul(1, 2, 3) }", ParserError, "Expected ')' (\"mul\" expects 2 arguments)"); } BOOST_AUTO_TEST_SUITE_END() |