mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update tests themselves
This commit is contained in:
parent
9f19bc8cbc
commit
af7ff3a3ef
@ -1792,7 +1792,7 @@ BOOST_AUTO_TEST_CASE(warn_var_from_zero)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
)";
|
)";
|
||||||
CHECK_WARNING(sourceCode, "type uint8, which can only hold");
|
CHECK_WARNING(sourceCode, "uint8, which can hold");
|
||||||
sourceCode = R"(
|
sourceCode = R"(
|
||||||
contract test {
|
contract test {
|
||||||
function f() {
|
function f() {
|
||||||
@ -1800,7 +1800,7 @@ BOOST_AUTO_TEST_CASE(warn_var_from_zero)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
)";
|
)";
|
||||||
CHECK_WARNING(sourceCode, "type uint8, which can only hold");
|
CHECK_WARNING(sourceCode, "uint8, which can hold");
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOST_AUTO_TEST_CASE(enum_member_access)
|
BOOST_AUTO_TEST_CASE(enum_member_access)
|
||||||
|
Loading…
Reference in New Issue
Block a user