diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2018-05-03 02:49:36 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-05-04 20:31:56 +0800 |
commit | 840ed1e88a8d70bdbc541a1330654cb1e730e298 (patch) | |
tree | 77a05bc9250d870977460a235fed476ca9f55876 /test/libsolidity/SolidityParser.cpp | |
parent | cc108390737dfb8d774622d76e69e94485b0f7b5 (diff) | |
download | dexon-solidity-840ed1e88a8d70bdbc541a1330654cb1e730e298.tar dexon-solidity-840ed1e88a8d70bdbc541a1330654cb1e730e298.tar.gz dexon-solidity-840ed1e88a8d70bdbc541a1330654cb1e730e298.tar.bz2 dexon-solidity-840ed1e88a8d70bdbc541a1330654cb1e730e298.tar.lz dexon-solidity-840ed1e88a8d70bdbc541a1330654cb1e730e298.tar.xz dexon-solidity-840ed1e88a8d70bdbc541a1330654cb1e730e298.tar.zst dexon-solidity-840ed1e88a8d70bdbc541a1330654cb1e730e298.zip |
Update parser test expectations
Diffstat (limited to 'test/libsolidity/SolidityParser.cpp')
-rw-r--r-- | test/libsolidity/SolidityParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/SolidityParser.cpp b/test/libsolidity/SolidityParser.cpp index f428f892..77686b03 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 token Identifier got reserved keyword"); + CHECK_PARSE_ERROR(text.c_str(), "Expected identifier but got reserved keyword"); } } |