diff options
author | Liana Husikyan <liana@ethdev.com> | 2015-04-17 21:26:12 +0800 |
---|---|---|
committer | Liana Husikyan <liana@ethdev.com> | 2015-04-27 19:08:32 +0800 |
commit | 9b956e809df8b84ce9ecfe866fe14473f4bbeece (patch) | |
tree | 8b388a3cca08b60f87d5a78f564255efe65f591a /libsolidity | |
parent | 18475f8ae148ee797fbd649eb5bf7a870ed9957c (diff) | |
download | dexon-solidity-9b956e809df8b84ce9ecfe866fe14473f4bbeece.tar.gz dexon-solidity-9b956e809df8b84ce9ecfe866fe14473f4bbeece.tar.zst dexon-solidity-9b956e809df8b84ce9ecfe866fe14473f4bbeece.zip |
fixed the output of the test
Diffstat (limited to 'libsolidity')
-rw-r--r-- | libsolidity/SolidityABIJSON.cpp | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/libsolidity/SolidityABIJSON.cpp b/libsolidity/SolidityABIJSON.cpp index 1ba0dc7b..de2af1d2 100644 --- a/libsolidity/SolidityABIJSON.cpp +++ b/libsolidity/SolidityABIJSON.cpp @@ -499,19 +499,18 @@ BOOST_AUTO_TEST_CASE(constructor_abi) { char const* sourceCode = R"( contract test { - function test() { + function test() { } })"; - char const* interface = R"(" - [ - { - "constant" : false, - "inputs" : [], - "name" : "test", - "outputs" : [], - "type" : "constructor" - } + char const* interface = R"([ + { + "constant" : false, + "inputs" : [], + "name" : "test", + "outputs" : [], + "type" : "constructor" + } ])"; checkInterface(sourceCode, interface); } |