diff options
author | chriseth <c@ethdev.com> | 2016-05-04 15:14:44 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2016-05-04 15:14:44 +0800 |
commit | e79797f3482881d3e2d5efd1a6318d43942dfcbe (patch) | |
tree | 4cabf0d352785a91925a5338ebeae718026896f5 /test/libsolidity | |
parent | e6b6e27bd7e7df459b8a626b38429673f5bdc5dd (diff) | |
download | dexon-solidity-e79797f3482881d3e2d5efd1a6318d43942dfcbe.tar.gz dexon-solidity-e79797f3482881d3e2d5efd1a6318d43942dfcbe.tar.zst dexon-solidity-e79797f3482881d3e2d5efd1a6318d43942dfcbe.zip |
Modify failing test: Accessor functions are not available anymore in libraries.
Diffstat (limited to 'test/libsolidity')
-rw-r--r-- | test/libsolidity/SolidityNameAndTypeResolution.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/libsolidity/SolidityNameAndTypeResolution.cpp b/test/libsolidity/SolidityNameAndTypeResolution.cpp index 44525d74..9c411781 100644 --- a/test/libsolidity/SolidityNameAndTypeResolution.cpp +++ b/test/libsolidity/SolidityNameAndTypeResolution.cpp @@ -2323,12 +2323,11 @@ BOOST_AUTO_TEST_CASE(call_to_library_function) { char const* text = R"( library Lib { - uint constant public pimil = 3141592; function min(uint x, uint y) returns (uint); } contract Test { function f() { - uint t = Lib.min(Lib.pimil(), 7); + uint t = Lib.min(12, 7); } } )"; |