aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/InlineAssembly.cpp
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-06-09 20:44:38 +0800
committerchriseth <chris@ethereum.org>2017-06-09 21:17:29 +0800
commitbf2b5c746ab92d1227c5a4d1f6c7458b2450faa1 (patch)
treea04b171563aff8bfb53e00403b2bcd6681fc6027 /test/libsolidity/InlineAssembly.cpp
parent76667fed4f9865c4a3a5a267c469446f8bce1bef (diff)
downloaddexon-solidity-bf2b5c746ab92d1227c5a4d1f6c7458b2450faa1.tar.gz
dexon-solidity-bf2b5c746ab92d1227c5a4d1f6c7458b2450faa1.tar.zst
dexon-solidity-bf2b5c746ab92d1227c5a4d1f6c7458b2450faa1.zip
Use lowercase when reporting instruction error.
Diffstat (limited to 'test/libsolidity/InlineAssembly.cpp')
-rw-r--r--test/libsolidity/InlineAssembly.cpp6
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()