aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/SolidityParser.cpp
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-05-03 03:42:26 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-05-04 05:10:51 +0800
commited9f80690bde53e56c6ef5cb046fb20713f3f780 (patch)
treeee51257c9b6182dd7996010c36df5725b976e44c /test/libsolidity/SolidityParser.cpp
parent73c99d15cdf5ef0589096d6d42025a21502fc8d9 (diff)
downloaddexon-solidity-ed9f80690bde53e56c6ef5cb046fb20713f3f780.tar
dexon-solidity-ed9f80690bde53e56c6ef5cb046fb20713f3f780.tar.gz
dexon-solidity-ed9f80690bde53e56c6ef5cb046fb20713f3f780.tar.bz2
dexon-solidity-ed9f80690bde53e56c6ef5cb046fb20713f3f780.tar.lz
dexon-solidity-ed9f80690bde53e56c6ef5cb046fb20713f3f780.tar.xz
dexon-solidity-ed9f80690bde53e56c6ef5cb046fb20713f3f780.tar.zst
dexon-solidity-ed9f80690bde53e56c6ef5cb046fb20713f3f780.zip
Simplify expectIdentifierToken by using expectToken
Diffstat (limited to 'test/libsolidity/SolidityParser.cpp')
-rw-r--r--test/libsolidity/SolidityParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/SolidityParser.cpp b/test/libsolidity/SolidityParser.cpp
index 1ebf8010..f428f892 100644
--- a/test/libsolidity/SolidityParser.cpp
+++ b/test/libsolidity/SolidityParser.cpp
@@ -992,7 +992,7 @@ BOOST_AUTO_TEST_CASE(keyword_is_reserved)
for (const auto& keyword: keywords)
{
auto text = std::string("contract ") + keyword + " {}";
- CHECK_PARSE_ERROR(text.c_str(), "Expected identifier");
+ CHECK_PARSE_ERROR(text.c_str(), "Expected token Identifier got reserved keyword");
}
}