diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-08-09 20:35:38 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-08-09 21:30:17 +0800 |
commit | efd45f64a542c722d750f79b483dd7428aba16ed (patch) | |
tree | 9faffe22eb9c3fa3a20248e1d7550a1b7dfd1d32 /test/libsolidity | |
parent | a8ca623a0f852c738b8bb92b449894ecc73b44e1 (diff) | |
download | dexon-solidity-efd45f64a542c722d750f79b483dd7428aba16ed.tar dexon-solidity-efd45f64a542c722d750f79b483dd7428aba16ed.tar.gz dexon-solidity-efd45f64a542c722d750f79b483dd7428aba16ed.tar.bz2 dexon-solidity-efd45f64a542c722d750f79b483dd7428aba16ed.tar.lz dexon-solidity-efd45f64a542c722d750f79b483dd7428aba16ed.tar.xz dexon-solidity-efd45f64a542c722d750f79b483dd7428aba16ed.tar.zst dexon-solidity-efd45f64a542c722d750f79b483dd7428aba16ed.zip |
Show previous visibility specifier in parser error
Diffstat (limited to 'test/libsolidity')
-rw-r--r-- | test/libsolidity/SolidityParser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/libsolidity/SolidityParser.cpp b/test/libsolidity/SolidityParser.cpp index d7ada518..2be824d6 100644 --- a/test/libsolidity/SolidityParser.cpp +++ b/test/libsolidity/SolidityParser.cpp @@ -898,12 +898,12 @@ BOOST_AUTO_TEST_CASE(multiple_visibility_specifiers) contract c { uint private internal a; })"; - CHECK_PARSE_ERROR(text, "Visibility already specified."); + CHECK_PARSE_ERROR(text, "Visibility already specified as \"private\"."); text = R"( contract c { function f() private external {} })"; - CHECK_PARSE_ERROR(text, "Visibility already specified."); + CHECK_PARSE_ERROR(text, "Visibility already specified as \"private\"."); } BOOST_AUTO_TEST_CASE(multiple_payable_specifiers) |