diff options
author | Erik Kundt <bitshift@posteo.org> | 2018-07-11 21:57:07 +0800 |
---|---|---|
committer | Erik Kundt <bitshift@posteo.org> | 2018-07-16 20:49:55 +0800 |
commit | 893f4cf092c98d13116741d1ebc19846f6873536 (patch) | |
tree | 9449cbeb1abd76e2ca83804caa44c9f93f916de5 /test/libsolidity/StandardCompiler.cpp | |
parent | 931794001e92cbfe99c91da037cf36a1808d9df1 (diff) | |
download | dexon-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.cpp | 6 |
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 { } }" } } } |