diff options
author | djudjuu <julfaber@gmail.com> | 2017-06-05 21:04:15 +0800 |
---|---|---|
committer | djudjuu <julfaber@gmail.com> | 2017-06-06 21:47:30 +0800 |
commit | ebdebc7c12d152bcf9c96274ecf7dea2e46e2541 (patch) | |
tree | dd43c4f2fa81eb24b414a46606855e1da2803d81 /test/libsolidity/JSONCompiler.cpp | |
parent | b011ddfae351c5a4883c88898390ea863be9a410 (diff) | |
download | dexon-solidity-ebdebc7c12d152bcf9c96274ecf7dea2e46e2541.tar.gz dexon-solidity-ebdebc7c12d152bcf9c96274ecf7dea2e46e2541.tar.zst dexon-solidity-ebdebc7c12d152bcf9c96274ecf7dea2e46e2541.zip |
new test case and indentation fix
Diffstat (limited to 'test/libsolidity/JSONCompiler.cpp')
-rw-r--r-- | test/libsolidity/JSONCompiler.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/libsolidity/JSONCompiler.cpp b/test/libsolidity/JSONCompiler.cpp index e920c73c..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]," + "{\"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\"}"); + "\"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() |