From 591dd99e9a82f05fe760199b757924cbab00673e Mon Sep 17 00:00:00 2001 From: Alexander Remie Date: Wed, 7 Nov 2018 14:39:29 +0100 Subject: [PATCH] regenerate expected json output of tests --- tests/expected_json/arbitrary_send.arbitrary-send.json | 4 ++-- tests/expected_json/backdoor.suicidal.json | 2 +- .../external_function.external-function.json | 8 ++++---- .../expected_json/inline_assembly_contract.assembly.json | 2 +- tests/expected_json/inline_assembly_library.assembly.json | 4 ++-- tests/expected_json/low_level_calls.low-level-calls.json | 2 +- tests/expected_json/reentrancy.reentrancy.json | 2 +- tests/expected_json/tx_origin.tx-origin.json | 4 ++-- 8 files changed, 14 insertions(+), 14 deletions(-) diff --git a/tests/expected_json/arbitrary_send.arbitrary-send.json b/tests/expected_json/arbitrary_send.arbitrary-send.json index f8aa83cc1..d6545ee92 100644 --- a/tests/expected_json/arbitrary_send.arbitrary-send.json +++ b/tests/expected_json/arbitrary_send.arbitrary-send.json @@ -5,7 +5,7 @@ ], "contract": "Test", "filename": "tests/arbitrary_send.sol", - "func": "direct", + "function": "direct", "sourceMapping": [ { "filename": "tests/arbitrary_send.sol", @@ -24,7 +24,7 @@ ], "contract": "Test", "filename": "tests/arbitrary_send.sol", - "func": "indirect", + "function": "indirect", "sourceMapping": [ { "filename": "tests/arbitrary_send.sol", diff --git a/tests/expected_json/backdoor.suicidal.json b/tests/expected_json/backdoor.suicidal.json index 663b33ef4..d6231fea0 100644 --- a/tests/expected_json/backdoor.suicidal.json +++ b/tests/expected_json/backdoor.suicidal.json @@ -2,7 +2,7 @@ { "contract": "C", "filename": "tests/backdoor.sol", - "func": "i_am_a_backdoor", + "function": "i_am_a_backdoor", "sourceMapping": { "filename": "tests/backdoor.sol", "length": 74, diff --git a/tests/expected_json/external_function.external-function.json b/tests/expected_json/external_function.external-function.json index e17984067..d66c38e51 100644 --- a/tests/expected_json/external_function.external-function.json +++ b/tests/expected_json/external_function.external-function.json @@ -2,7 +2,7 @@ { "contract": "ContractWithFunctionNotCalled", "filename": "tests/external_function.sol", - "func": "funcNotCalled", + "function": "funcNotCalled", "sourceMapping": { "filename": "tests/external_function.sol", "length": 40, @@ -18,7 +18,7 @@ { "contract": "ContractWithFunctionNotCalled", "filename": "tests/external_function.sol", - "func": "funcNotCalled2", + "function": "funcNotCalled2", "sourceMapping": { "filename": "tests/external_function.sol", "length": 41, @@ -34,7 +34,7 @@ { "contract": "ContractWithFunctionNotCalled", "filename": "tests/external_function.sol", - "func": "funcNotCalled3", + "function": "funcNotCalled3", "sourceMapping": { "filename": "tests/external_function.sol", "length": 41, @@ -50,7 +50,7 @@ { "contract": "ContractWithFunctionNotCalled2", "filename": "tests/external_function.sol", - "func": "funcNotCalled", + "function": "funcNotCalled", "sourceMapping": { "filename": "tests/external_function.sol", "length": 304, diff --git a/tests/expected_json/inline_assembly_contract.assembly.json b/tests/expected_json/inline_assembly_contract.assembly.json index 376d3a49d..874f3d348 100644 --- a/tests/expected_json/inline_assembly_contract.assembly.json +++ b/tests/expected_json/inline_assembly_contract.assembly.json @@ -2,7 +2,7 @@ { "contract": "GetCode", "filename": "tests/inline_assembly_contract.sol", - "function_name": "at", + "function": "at", "sourceMapping": [ { "filename": "tests/inline_assembly_contract.sol", diff --git a/tests/expected_json/inline_assembly_library.assembly.json b/tests/expected_json/inline_assembly_library.assembly.json index 5183fc8cd..865c33702 100644 --- a/tests/expected_json/inline_assembly_library.assembly.json +++ b/tests/expected_json/inline_assembly_library.assembly.json @@ -2,7 +2,7 @@ { "contract": "VectorSum", "filename": "tests/inline_assembly_library.sol", - "function_name": "sumAsm", + "function": "sumAsm", "sourceMapping": [ { "filename": "tests/inline_assembly_library.sol", @@ -21,7 +21,7 @@ { "contract": "VectorSum", "filename": "tests/inline_assembly_library.sol", - "function_name": "sumPureAsm", + "function": "sumPureAsm", "sourceMapping": [ { "filename": "tests/inline_assembly_library.sol", diff --git a/tests/expected_json/low_level_calls.low-level-calls.json b/tests/expected_json/low_level_calls.low-level-calls.json index eb0e7529f..fe2a38dc5 100644 --- a/tests/expected_json/low_level_calls.low-level-calls.json +++ b/tests/expected_json/low_level_calls.low-level-calls.json @@ -2,7 +2,7 @@ { "contract": "Sender", "filename": "tests/low_level_calls.sol", - "function_name": "send", + "function": "send", "sourceMapping": [ { "filename": "tests/low_level_calls.sol", diff --git a/tests/expected_json/reentrancy.reentrancy.json b/tests/expected_json/reentrancy.reentrancy.json index 26532ccf4..930e3b4a2 100644 --- a/tests/expected_json/reentrancy.reentrancy.json +++ b/tests/expected_json/reentrancy.reentrancy.json @@ -5,7 +5,7 @@ ], "contract": "Reentrancy", "filename": "tests/reentrancy.sol", - "function_name": "withdrawBalance", + "function": "withdrawBalance", "send_eth": [ "! (msg.sender.call.value(userBalance[msg.sender])())" ], diff --git a/tests/expected_json/tx_origin.tx-origin.json b/tests/expected_json/tx_origin.tx-origin.json index f88642adf..16413eabc 100644 --- a/tests/expected_json/tx_origin.tx-origin.json +++ b/tests/expected_json/tx_origin.tx-origin.json @@ -2,7 +2,7 @@ { "contract": "TxOrigin", "filename": "tests/tx_origin.sol", - "function_name": "bug0", + "function": "bug0", "sourceMapping": [ { "filename": "tests/tx_origin.sol", @@ -18,7 +18,7 @@ { "contract": "TxOrigin", "filename": "tests/tx_origin.sol", - "function_name": "bug2", + "function": "bug2", "sourceMapping": [ { "filename": "tests/tx_origin.sol",