Merge pull request #942 from LefterisJP/accesorsFix

Fixing accesors test after visibility merge
This commit is contained in:
Gav Wood 2015-02-03 16:30:59 -08:00
commit 4c4c4866d5

View File

@ -931,10 +931,10 @@ BOOST_AUTO_TEST_CASE(multiple_elementary_accessors)
BOOST_AUTO_TEST_CASE(complex_accessors) BOOST_AUTO_TEST_CASE(complex_accessors)
{ {
char const* sourceCode = "contract test {\n" char const* sourceCode = "contract test {\n"
" mapping(uint256 => string4) to_string_map;\n" " mapping(uint256 => string4) public to_string_map;\n"
" mapping(uint256 => bool) to_bool_map;\n" " mapping(uint256 => bool) public to_bool_map;\n"
" mapping(uint256 => uint256) to_uint_map;\n" " mapping(uint256 => uint256) public to_uint_map;\n"
" mapping(uint256 => mapping(uint256 => uint256)) to_multiple_map;\n" " mapping(uint256 => mapping(uint256 => uint256)) public to_multiple_map;\n"
" function test() {\n" " function test() {\n"
" to_string_map[42] = \"24\";\n" " to_string_map[42] = \"24\";\n"
" to_bool_map[42] = false;\n" " to_bool_map[42] = false;\n"