aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/SolidityABIJSON.cpp
diff options
context:
space:
mode:
authorLiana Husikyan <liana@ethdev.com>2015-04-17 21:26:12 +0800
committerLiana Husikyan <liana@ethdev.com>2015-04-27 19:08:32 +0800
commit9b956e809df8b84ce9ecfe866fe14473f4bbeece (patch)
tree8b388a3cca08b60f87d5a78f564255efe65f591a /libsolidity/SolidityABIJSON.cpp
parent18475f8ae148ee797fbd649eb5bf7a870ed9957c (diff)
downloaddexon-solidity-9b956e809df8b84ce9ecfe866fe14473f4bbeece.tar
dexon-solidity-9b956e809df8b84ce9ecfe866fe14473f4bbeece.tar.gz
dexon-solidity-9b956e809df8b84ce9ecfe866fe14473f4bbeece.tar.bz2
dexon-solidity-9b956e809df8b84ce9ecfe866fe14473f4bbeece.tar.lz
dexon-solidity-9b956e809df8b84ce9ecfe866fe14473f4bbeece.tar.xz
dexon-solidity-9b956e809df8b84ce9ecfe866fe14473f4bbeece.tar.zst
dexon-solidity-9b956e809df8b84ce9ecfe866fe14473f4bbeece.zip
fixed the output of the test
Diffstat (limited to 'libsolidity/SolidityABIJSON.cpp')
-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);
}