aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/StandardCompiler.cpp
diff options
context:
space:
mode:
authorErik Kundt <bitshift@posteo.org>2018-07-11 21:57:07 +0800
committerErik Kundt <bitshift@posteo.org>2018-07-16 20:49:55 +0800
commit893f4cf092c98d13116741d1ebc19846f6873536 (patch)
tree9449cbeb1abd76e2ca83804caa44c9f93f916de5 /test/libsolidity/StandardCompiler.cpp
parent931794001e92cbfe99c91da037cf36a1808d9df1 (diff)
downloaddexon-solidity-893f4cf092c98d13116741d1ebc19846f6873536.tar.gz
dexon-solidity-893f4cf092c98d13116741d1ebc19846f6873536.tar.zst
dexon-solidity-893f4cf092c98d13116741d1ebc19846f6873536.zip
Specifies visibility in unit tests.
Diffstat (limited to 'test/libsolidity/StandardCompiler.cpp')
-rw-r--r--test/libsolidity/StandardCompiler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/libsolidity/StandardCompiler.cpp b/test/libsolidity/StandardCompiler.cpp
index bfb0d739..16921a24 100644
--- a/test/libsolidity/StandardCompiler.cpp
+++ b/test/libsolidity/StandardCompiler.cpp
@@ -466,7 +466,7 @@ BOOST_AUTO_TEST_CASE(output_selection_dependent_contract)
},
"sources": {
"fileA": {
- "content": "contract B { } contract A { function f() { new B(); } }"
+ "content": "contract B { } contract A { function f() public { new B(); } }"
}
}
}
@@ -495,7 +495,7 @@ BOOST_AUTO_TEST_CASE(output_selection_dependent_contract_with_import)
},
"sources": {
"fileA": {
- "content": "import \"fileB\"; contract A { function f() { new B(); } }"
+ "content": "import \"fileB\"; contract A { function f() public { new B(); } }"
},
"fileB": {
"content": "contract B { }"
@@ -712,7 +712,7 @@ BOOST_AUTO_TEST_CASE(library_linking)
"content": "library L { function g() public returns (uint) { return 1; } }"
},
"library2.sol": {
- "content": "library L2 { function g() { } }"
+ "content": "library L2 { function g() public { } }"
}
}
}