aboutsummaryrefslogtreecommitdiffstats
path: root/SolidityABIJSON.cpp
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2015-01-09 16:29:19 +0800
committerLefteris Karapetsas <lefteris@refu.co>2015-01-09 16:29:19 +0800
commit765bd95a075107667f45177d07c00151e59ed713 (patch)
tree458bb52757f6d2da38e58e6cd1d2478496f94e41 /SolidityABIJSON.cpp
parent4f97c89d4f0df983e7c8ecdf7e2b4e63e340b712 (diff)
downloaddexon-solidity-765bd95a075107667f45177d07c00151e59ed713.tar.gz
dexon-solidity-765bd95a075107667f45177d07c00151e59ed713.tar.zst
dexon-solidity-765bd95a075107667f45177d07c00151e59ed713.zip
Fixing SolidityABIJSON test
Diffstat (limited to 'SolidityABIJSON.cpp')
-rw-r--r--SolidityABIJSON.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/SolidityABIJSON.cpp b/SolidityABIJSON.cpp
index 714aa0f3..5ec7ce13 100644
--- a/SolidityABIJSON.cpp
+++ b/SolidityABIJSON.cpp
@@ -237,20 +237,6 @@ BOOST_AUTO_TEST_CASE(const_function)
char const* interface = R"([
{
- "name": "boo",
- "constant": true,
- "inputs": [{
- "name": "a",
- "type": "uint32"
- }],
- "outputs": [
- {
- "name": "b",
- "type": "uint256"
- }
- ]
- },
- {
"name": "foo",
"constant": false,
"inputs": [
@@ -269,6 +255,20 @@ BOOST_AUTO_TEST_CASE(const_function)
"type": "uint256"
}
]
+ },
+ {
+ "name": "boo",
+ "constant": true,
+ "inputs": [{
+ "name": "a",
+ "type": "uint32"
+ }],
+ "outputs": [
+ {
+ "name": "b",
+ "type": "uint256"
+ }
+ ]
}
])";