aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2015-02-04 08:17:15 +0800
committerLefteris Karapetsas <lefteris@refu.co>2015-02-04 08:17:15 +0800
commit434e70472d0c90d23799d3aa89c2a5b976ac7ba2 (patch)
tree10ee1792f4debee12e3474d1fd56a7cef2f534cd
parentd5b2f8a2ce5170f3832c816e20f87557ed196a74 (diff)
downloaddexon-solidity-434e70472d0c90d23799d3aa89c2a5b976ac7ba2.tar.gz
dexon-solidity-434e70472d0c90d23799d3aa89c2a5b976ac7ba2.tar.zst
dexon-solidity-434e70472d0c90d23799d3aa89c2a5b976ac7ba2.zip
Fixing accesors test after visibility merge
-rw-r--r--SolidityEndToEndTest.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/SolidityEndToEndTest.cpp b/SolidityEndToEndTest.cpp
index ced9785e..d1b332e8 100644
--- a/SolidityEndToEndTest.cpp
+++ b/SolidityEndToEndTest.cpp
@@ -921,10 +921,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"