diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/libsolidity/SolidityNameAndTypeResolution.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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) |