mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
windows fix for initializer-list cannot convert to dev::bytes
This commit is contained in:
parent
c83db9e6db
commit
9def93fab4
@ -1108,7 +1108,7 @@ BOOST_AUTO_TEST_CASE(constructor_arguments)
|
|||||||
function getName() returns (string3 ret) { return h.getName(); }
|
function getName() returns (string3 ret) { return h.getName(); }
|
||||||
})";
|
})";
|
||||||
compileAndRun(sourceCode, 0, "Main");
|
compileAndRun(sourceCode, 0, "Main");
|
||||||
BOOST_REQUIRE(callContractFunction(0) == bytes({0x01}));
|
BOOST_REQUIRE(callContractFunction(0) == bytes{0x01});
|
||||||
BOOST_REQUIRE(callContractFunction(1) == bytes({'a', 'b', 'c'}));
|
BOOST_REQUIRE(callContractFunction(1) == bytes({'a', 'b', 'c'}));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user