Modify failing test: Accessor functions are not available anymore in libraries.

This commit is contained in:
chriseth 2016-05-04 09:14:44 +02:00
parent e6b6e27bd7
commit e79797f348

View File

@ -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);
}
}
)";