diff options
author | chriseth <chris@ethereum.org> | 2018-05-04 18:50:12 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-04 18:50:12 +0800 |
commit | 81d61ca086e8e45108b7989e7f1494d90077401e (patch) | |
tree | 7ed329c24ea5d5082c325e9ebc270b9b9c31dbc6 /test/libsolidity/StandardCompiler.cpp | |
parent | a244f1a383ad46e9f789d66434a6828db0021f11 (diff) | |
parent | ed9f80690bde53e56c6ef5cb046fb20713f3f780 (diff) | |
download | dexon-solidity-81d61ca086e8e45108b7989e7f1494d90077401e.tar dexon-solidity-81d61ca086e8e45108b7989e7f1494d90077401e.tar.gz dexon-solidity-81d61ca086e8e45108b7989e7f1494d90077401e.tar.bz2 dexon-solidity-81d61ca086e8e45108b7989e7f1494d90077401e.tar.lz dexon-solidity-81d61ca086e8e45108b7989e7f1494d90077401e.tar.xz dexon-solidity-81d61ca086e8e45108b7989e7f1494d90077401e.tar.zst dexon-solidity-81d61ca086e8e45108b7989e7f1494d90077401e.zip |
Merge pull request #4059 from ethereum/parser-simplify
Simplify the parser expectations
Diffstat (limited to 'test/libsolidity/StandardCompiler.cpp')
-rw-r--r-- | test/libsolidity/StandardCompiler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/libsolidity/StandardCompiler.cpp b/test/libsolidity/StandardCompiler.cpp index 74bf01b2..f816905c 100644 --- a/test/libsolidity/StandardCompiler.cpp +++ b/test/libsolidity/StandardCompiler.cpp @@ -326,8 +326,8 @@ BOOST_AUTO_TEST_CASE(compilation_error) { BOOST_CHECK_EQUAL( dev::jsonCompactPrint(error), - "{\"component\":\"general\",\"formattedMessage\":\"fileA:1:23: ParserError: Expected identifier, got 'RBrace'\\n" - "contract A { function }\\n ^\\n\",\"message\":\"Expected identifier, got 'RBrace'\"," + "{\"component\":\"general\",\"formattedMessage\":\"fileA:1:23: ParserError: Expected token Identifier got 'RBrace'\\n" + "contract A { function }\\n ^\\n\",\"message\":\"Expected token Identifier got 'RBrace'\"," "\"severity\":\"error\",\"sourceLocation\":{\"end\":22,\"file\":\"fileA\",\"start\":22},\"type\":\"ParserError\"}" ); } |