diff options
author | chriseth <chris@ethereum.org> | 2017-06-14 20:32:27 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-14 20:32:27 +0800 |
commit | 21aafaa70439e41da1c9eb6b37d08707d90b35f0 (patch) | |
tree | 6a8a1a585950f7987b1f2630e1f23c16c05d5cce /test/libsolidity/JSONCompiler.cpp | |
parent | e232a105f036e40c9da5c3ce051c5ebd4236b558 (diff) | |
parent | 83f0e00900a51c03cc7d8c088bbac0c4814a9e49 (diff) | |
download | dexon-solidity-21aafaa70439e41da1c9eb6b37d08707d90b35f0.tar dexon-solidity-21aafaa70439e41da1c9eb6b37d08707d90b35f0.tar.gz dexon-solidity-21aafaa70439e41da1c9eb6b37d08707d90b35f0.tar.bz2 dexon-solidity-21aafaa70439e41da1c9eb6b37d08707d90b35f0.tar.lz dexon-solidity-21aafaa70439e41da1c9eb6b37d08707d90b35f0.tar.xz dexon-solidity-21aafaa70439e41da1c9eb6b37d08707d90b35f0.tar.zst dexon-solidity-21aafaa70439e41da1c9eb6b37d08707d90b35f0.zip |
Merge pull request #2331 from ethereum/ASTDocumentationEntry
documentation field added to ContractDefinition-Node
Diffstat (limited to 'test/libsolidity/JSONCompiler.cpp')
-rw-r--r-- | test/libsolidity/JSONCompiler.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/libsolidity/JSONCompiler.cpp b/test/libsolidity/JSONCompiler.cpp index 6aec59ab..f5154395 100644 --- a/test/libsolidity/JSONCompiler.cpp +++ b/test/libsolidity/JSONCompiler.cpp @@ -90,11 +90,11 @@ BOOST_AUTO_TEST_CASE(basic_compilation) BOOST_CHECK(result["sources"]["fileA"].isObject()); BOOST_CHECK(result["sources"]["fileA"]["AST"].isObject()); BOOST_CHECK(dev::jsonCompactPrint(result["sources"]["fileA"]["AST"]) == - "{\"attributes\":{\"absolutePath\":\"fileA\",\"exportedSymbols\":{\"A\":[1]}}," - "\"children\":[{\"attributes\":{\"baseContracts\":[null],\"contractDependencies\":[null]," - "\"contractKind\":\"contract\",\"fullyImplemented\":true,\"linearizedBaseContracts\":[1]," - "\"name\":\"A\",\"nodes\":[null],\"scope\":2},\"id\":1,\"name\":\"ContractDefinition\"," - "\"src\":\"0:14:0\"}],\"id\":2,\"name\":\"SourceUnit\",\"src\":\"0:14:0\"}"); + "{\"attributes\":{\"absolutePath\":\"fileA\",\"exportedSymbols\":{\"A\":[1]}}," + "\"children\":[{\"attributes\":{\"baseContracts\":[null],\"contractDependencies\":[null]," + "\"contractKind\":\"contract\",\"documentation\":null,\"fullyImplemented\":true,\"linearizedBaseContracts\":[1]," + "\"name\":\"A\",\"nodes\":[null],\"scope\":2},\"id\":1,\"name\":\"ContractDefinition\"," + "\"src\":\"0:14:0\"}],\"id\":2,\"name\":\"SourceUnit\",\"src\":\"0:14:0\"}"); } BOOST_AUTO_TEST_SUITE_END() |