aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/InlineAssembly.cpp
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-12-04 18:22:49 +0800
committerchriseth <chris@ethereum.org>2018-12-04 18:37:03 +0800
commitd829794737233e23b0aa53d0360fa9f626209ba0 (patch)
tree1c7bccd8bd6fd6ba93a5e8dd3f34d0ddcc8a0ece /test/libsolidity/InlineAssembly.cpp
parent336287821a1eb831e69414dedb77a6d77570709f (diff)
downloaddexon-solidity-d829794737233e23b0aa53d0360fa9f626209ba0.tar
dexon-solidity-d829794737233e23b0aa53d0360fa9f626209ba0.tar.gz
dexon-solidity-d829794737233e23b0aa53d0360fa9f626209ba0.tar.bz2
dexon-solidity-d829794737233e23b0aa53d0360fa9f626209ba0.tar.lz
dexon-solidity-d829794737233e23b0aa53d0360fa9f626209ba0.tar.xz
dexon-solidity-d829794737233e23b0aa53d0360fa9f626209ba0.tar.zst
dexon-solidity-d829794737233e23b0aa53d0360fa9f626209ba0.zip
Improve yul error messages around number of arguments and variables.
Diffstat (limited to 'test/libsolidity/InlineAssembly.cpp')
-rw-r--r--test/libsolidity/InlineAssembly.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/libsolidity/InlineAssembly.cpp b/test/libsolidity/InlineAssembly.cpp
index 11d4c59f..b6986041 100644
--- a/test/libsolidity/InlineAssembly.cpp
+++ b/test/libsolidity/InlineAssembly.cpp
@@ -433,8 +433,7 @@ BOOST_AUTO_TEST_CASE(variable_access_cross_functions)
BOOST_AUTO_TEST_CASE(invalid_tuple_assignment)
{
- /// The push(42) is added here to silence the unbalanced stack error, so that there's only one error reported.
- CHECK_PARSE_ERROR("{ 42 let x, y := 1 }", DeclarationError, "Variable count mismatch.");
+ CHECK_PARSE_ERROR("{ let x, y := 1 }", DeclarationError, "Variable count mismatch: 2 variables and 1 values");
}
BOOST_AUTO_TEST_CASE(instruction_too_few_arguments)