aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libsolidity/SolidityABIJSON.cpp19
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);
}