From 9b956e809df8b84ce9ecfe866fe14473f4bbeece Mon Sep 17 00:00:00 2001 From: Liana Husikyan Date: Fri, 17 Apr 2015 15:26:12 +0200 Subject: fixed the output of the test --- libsolidity/SolidityABIJSON.cpp | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'libsolidity/SolidityABIJSON.cpp') 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); } -- cgit