Update tests themselves

This commit is contained in:
chriseth 2017-06-22 16:09:10 +02:00
parent 9f19bc8cbc
commit af7ff3a3ef

View File

@ -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)