mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Uniform error messages
This commit is contained in:
@@ -272,7 +272,7 @@ BOOST_AUTO_TEST_CASE(invalid_tuple_assignment)
|
||||
|
||||
BOOST_AUTO_TEST_CASE(instruction_too_few_arguments)
|
||||
{
|
||||
CHECK_PARSE_ERROR("{ mul() }", ParserError, "Expected 2 arguments, but received 0");
|
||||
CHECK_PARSE_ERROR("{ mul() }", ParserError, "Expected expression (MUL expects 2 arguments)");
|
||||
CHECK_PARSE_ERROR("{ mul(1) }", ParserError, "Expected comma (MUL expects 2 arguments)");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user