mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fixed #683
This commit is contained in:
parent
7c09dcd1bd
commit
bba4398e48
@ -76,7 +76,7 @@ BOOST_AUTO_TEST_CASE(basic_test)
|
||||
char const* interface = R"([
|
||||
{
|
||||
"name": "f",
|
||||
"const": false,
|
||||
"constant": false,
|
||||
"inputs": [
|
||||
{
|
||||
"name": "a",
|
||||
@ -115,7 +115,7 @@ BOOST_AUTO_TEST_CASE(multiple_methods)
|
||||
char const* interface = R"([
|
||||
{
|
||||
"name": "f",
|
||||
"const": false,
|
||||
"constant": false,
|
||||
"inputs": [
|
||||
{
|
||||
"name": "a",
|
||||
@ -131,7 +131,7 @@ BOOST_AUTO_TEST_CASE(multiple_methods)
|
||||
},
|
||||
{
|
||||
"name": "g",
|
||||
"const": false,
|
||||
"constant": false,
|
||||
"inputs": [
|
||||
{
|
||||
"name": "b",
|
||||
@ -159,7 +159,7 @@ BOOST_AUTO_TEST_CASE(multiple_params)
|
||||
char const* interface = R"([
|
||||
{
|
||||
"name": "f",
|
||||
"const": false,
|
||||
"constant": false,
|
||||
"inputs": [
|
||||
{
|
||||
"name": "a",
|
||||
@ -193,7 +193,7 @@ BOOST_AUTO_TEST_CASE(multiple_methods_order)
|
||||
char const* interface = R"([
|
||||
{
|
||||
"name": "c",
|
||||
"const": false,
|
||||
"constant": false,
|
||||
"inputs": [
|
||||
{
|
||||
"name": "b",
|
||||
@ -209,7 +209,7 @@ BOOST_AUTO_TEST_CASE(multiple_methods_order)
|
||||
},
|
||||
{
|
||||
"name": "f",
|
||||
"const": false,
|
||||
"constant": false,
|
||||
"inputs": [
|
||||
{
|
||||
"name": "a",
|
||||
@ -238,7 +238,7 @@ BOOST_AUTO_TEST_CASE(const_function)
|
||||
char const* interface = R"([
|
||||
{
|
||||
"name": "boo",
|
||||
"const": true,
|
||||
"constant": true,
|
||||
"inputs": [{
|
||||
"name": "a",
|
||||
"type": "uint32"
|
||||
@ -252,7 +252,7 @@ BOOST_AUTO_TEST_CASE(const_function)
|
||||
},
|
||||
{
|
||||
"name": "foo",
|
||||
"const": false,
|
||||
"constant": false,
|
||||
"inputs": [
|
||||
{
|
||||
"name": "a",
|
||||
|
Loading…
Reference in New Issue
Block a user