aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-05-26 18:16:12 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-05-26 18:16:12 +0800
commit98c90511749d1d2a79675266b970589fd93b7708 (patch)
tree3f771fab5be0181fd0433a81032d6af8e65fcd56 /test/libsolidity
parent68e1e464be4f242a9bd4e1c27d0596a3c2dcd71a (diff)
downloaddexon-solidity-98c90511749d1d2a79675266b970589fd93b7708.tar.gz
dexon-solidity-98c90511749d1d2a79675266b970589fd93b7708.tar.zst
dexon-solidity-98c90511749d1d2a79675266b970589fd93b7708.zip
Fix expected message in test case
Diffstat (limited to 'test/libsolidity')
-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.");
}