Skip to content

Commit

Permalink
fix returndatacopy expectations
Browse files Browse the repository at this point in the history
  • Loading branch information
chriseth committed Feb 23, 2018
1 parent 76b54f0 commit 693858d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/libsolidity/ABIDecoderTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -864,10 +864,9 @@ BOOST_AUTO_TEST_CASE(return_dynamic_types_cross_call_out_of_range)
else
{
ABI_CHECK(callContractFunction("f(uint256)", 0x60), encodeArgs());
// This checks that bytes is correctly padded. We need returndatasize for that.
ABI_CHECK(callContractFunction("f(uint256)", 0x7f), encodeArgs());
ABI_CHECK(callContractFunction("f(uint256)", 0x61), encodeArgs(true));
}
ABI_CHECK(callContractFunction("f(uint256)", 0x180), encodeArgs(true));
ABI_CHECK(callContractFunction("f(uint256)", 0x80), encodeArgs(true));
)
}

Expand Down

0 comments on commit 693858d

Please sign in to comment.