aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-06-22 22:09:10 +0800
committerchriseth <chris@ethereum.org>2017-06-28 17:41:03 +0800
commitaf7ff3a3efec0394e8d44453f46af4e692cc224f (patch)
treeff57fad4d2c2eb48cdb8db2ee70584fb8f3840c1 /test/libsolidity
parent9f19bc8cbca127309fd8057e20d2facc22529fc0 (diff)
downloaddexon-solidity-af7ff3a3efec0394e8d44453f46af4e692cc224f.tar
dexon-solidity-af7ff3a3efec0394e8d44453f46af4e692cc224f.tar.gz
dexon-solidity-af7ff3a3efec0394e8d44453f46af4e692cc224f.tar.bz2
dexon-solidity-af7ff3a3efec0394e8d44453f46af4e692cc224f.tar.lz
dexon-solidity-af7ff3a3efec0394e8d44453f46af4e692cc224f.tar.xz
dexon-solidity-af7ff3a3efec0394e8d44453f46af4e692cc224f.tar.zst
dexon-solidity-af7ff3a3efec0394e8d44453f46af4e692cc224f.zip
Update tests themselves
Diffstat (limited to 'test/libsolidity')
-rw-r--r--test/libsolidity/SolidityNameAndTypeResolution.cpp4
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)