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/StandardCompiler.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/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 f816905c..560c9013 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 token Identifier got 'RBrace'\\n" - "contract A { function }\\n ^\\n\",\"message\":\"Expected token Identifier got 'RBrace'\"," + "{\"component\":\"general\",\"formattedMessage\":\"fileA:1:23: ParserError: Expected identifier but got '}'\\n" + "contract A { function }\\n ^\\n\",\"message\":\"Expected identifier but got '}'\"," "\"severity\":\"error\",\"sourceLocation\":{\"end\":22,\"file\":\"fileA\",\"start\":22},\"type\":\"ParserError\"}" ); } |