Browse Source

Merge pull request #639 from debris/msvc_fix

windows fix for initializer-list cannot convert to dev::bytes
cl-refactor
Gav Wood 10 years ago
parent
commit
c4b6ccb1bd
  1. 2
      test/solidityEndToEndTest.cpp

2
test/solidityEndToEndTest.cpp

@ -1108,7 +1108,7 @@ BOOST_AUTO_TEST_CASE(constructor_arguments)
function getName() returns (string3 ret) { return h.getName(); }
})";
compileAndRun(sourceCode, 0, "Main");
BOOST_REQUIRE(callContractFunction(0) == bytes({0x01}));
BOOST_REQUIRE(callContractFunction(0) == bytes({byte(0x01)}));
BOOST_REQUIRE(callContractFunction(1) == bytes({'a', 'b', 'c'}));
}

Loading…
Cancel
Save