aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-05-26 20:19:59 +0800
committerGitHub <noreply@github.com>2017-05-26 20:19:59 +0800
commite022f11cdb752a07b6c0f824f3e4f91233a19359 (patch)
treeea6d040d5e94720a943d3a9636e1dc094922dca9
parent2f3aaa46e9ba148d0349e392c64f554aa5307578 (diff)
parent98c90511749d1d2a79675266b970589fd93b7708 (diff)
downloaddexon-solidity-e022f11cdb752a07b6c0f824f3e4f91233a19359.tar.gz
dexon-solidity-e022f11cdb752a07b6c0f824f3e4f91233a19359.tar.zst
dexon-solidity-e022f11cdb752a07b6c0f824f3e4f91233a19359.zip
Merge pull request #2318 from ethereum/inlineasm-cleanup
Fix expected message in test case
-rw-r--r--test/libsolidity/InlineAssembly.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/InlineAssembly.cpp b/test/libsolidity/InlineAssembly.cpp
index 39cec731..b390a40b 100644
--- a/test/libsolidity/InlineAssembly.cpp
+++ b/test/libsolidity/InlineAssembly.cpp
@@ -246,7 +246,7 @@ BOOST_AUTO_TEST_CASE(switch_duplicate_case)
BOOST_AUTO_TEST_CASE(switch_invalid_expression)
{
- CHECK_PARSE_ERROR("{ switch {} default {} }", ParserError, "Expected elementary inline assembly operation.");
+ CHECK_PARSE_ERROR("{ switch {} default {} }", ParserError, "Literal, identifier or instruction expected.");
CHECK_PARSE_ERROR("{ 1 2 switch mul default {} }", ParserError, "Instructions are not supported as expressions for switch.");
}