diff options
author | Gav Wood <g@ethdev.com> | 2015-02-04 08:30:59 +0800 |
---|---|---|
committer | Gav Wood <g@ethdev.com> | 2015-02-04 08:30:59 +0800 |
commit | 4c4c4866d5ae474c5f18577ad0f29d8ad40774af (patch) | |
tree | 02096a40047b62f3459918e62b08c5a6353e9b11 | |
parent | 350b99c1d18cbbe7aa980ca9913fd2e1c24987b0 (diff) | |
parent | 434e70472d0c90d23799d3aa89c2a5b976ac7ba2 (diff) | |
download | dexon-solidity-4c4c4866d5ae474c5f18577ad0f29d8ad40774af.tar dexon-solidity-4c4c4866d5ae474c5f18577ad0f29d8ad40774af.tar.gz dexon-solidity-4c4c4866d5ae474c5f18577ad0f29d8ad40774af.tar.bz2 dexon-solidity-4c4c4866d5ae474c5f18577ad0f29d8ad40774af.tar.lz dexon-solidity-4c4c4866d5ae474c5f18577ad0f29d8ad40774af.tar.xz dexon-solidity-4c4c4866d5ae474c5f18577ad0f29d8ad40774af.tar.zst dexon-solidity-4c4c4866d5ae474c5f18577ad0f29d8ad40774af.zip |
Merge pull request #942 from LefterisJP/accesorsFix
Fixing accesors test after visibility merge
-rw-r--r-- | SolidityEndToEndTest.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/SolidityEndToEndTest.cpp b/SolidityEndToEndTest.cpp index e019137e..d0d50167 100644 --- a/SolidityEndToEndTest.cpp +++ b/SolidityEndToEndTest.cpp @@ -931,10 +931,10 @@ BOOST_AUTO_TEST_CASE(multiple_elementary_accessors) BOOST_AUTO_TEST_CASE(complex_accessors) { char const* sourceCode = "contract test {\n" - " mapping(uint256 => string4) to_string_map;\n" - " mapping(uint256 => bool) to_bool_map;\n" - " mapping(uint256 => uint256) to_uint_map;\n" - " mapping(uint256 => mapping(uint256 => uint256)) to_multiple_map;\n" + " mapping(uint256 => string4) public to_string_map;\n" + " mapping(uint256 => bool) public to_bool_map;\n" + " mapping(uint256 => uint256) public to_uint_map;\n" + " mapping(uint256 => mapping(uint256 => uint256)) public to_multiple_map;\n" " function test() {\n" " to_string_map[42] = \"24\";\n" " to_bool_map[42] = false;\n" |