From af7ff3a3efec0394e8d44453f46af4e692cc224f Mon Sep 17 00:00:00 2001 From: chriseth Date: Thu, 22 Jun 2017 16:09:10 +0200 Subject: Update tests themselves --- test/libsolidity/SolidityNameAndTypeResolution.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/libsolidity/SolidityNameAndTypeResolution.cpp b/test/libsolidity/SolidityNameAndTypeResolution.cpp index 14bb0810..f649bf00 100644 --- a/test/libsolidity/SolidityNameAndTypeResolution.cpp +++ b/test/libsolidity/SolidityNameAndTypeResolution.cpp @@ -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"( contract test { 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) -- cgit v1.2.3