aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-04-21 21:04:03 +0800
committerchriseth <chris@ethereum.org>2017-04-21 21:04:03 +0800
commit937695bfdc76a7c0c8b828c26121e7dd0c641acf (patch)
treeba9c11259be1eb366cba7ff0baa62265d8529e55 /test
parent9bc9fe6af7241479fe3099eae235452b054a6f11 (diff)
downloaddexon-solidity-937695bfdc76a7c0c8b828c26121e7dd0c641acf.tar
dexon-solidity-937695bfdc76a7c0c8b828c26121e7dd0c641acf.tar.gz
dexon-solidity-937695bfdc76a7c0c8b828c26121e7dd0c641acf.tar.bz2
dexon-solidity-937695bfdc76a7c0c8b828c26121e7dd0c641acf.tar.lz
dexon-solidity-937695bfdc76a7c0c8b828c26121e7dd0c641acf.tar.xz
dexon-solidity-937695bfdc76a7c0c8b828c26121e7dd0c641acf.tar.zst
dexon-solidity-937695bfdc76a7c0c8b828c26121e7dd0c641acf.zip
Change error message.
Diffstat (limited to 'test')
-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 b3aa899d..9126806c 100644
--- a/test/libsolidity/SolidityNameAndTypeResolution.cpp
+++ b/test/libsolidity/SolidityNameAndTypeResolution.cpp
@@ -5489,7 +5489,7 @@ BOOST_AUTO_TEST_CASE(bare_revert)
}
}
)";
- CHECK_WARNING(text, "Statement has no effects.");
+ CHECK_WARNING(text, "Statement has no effect.");
}
BOOST_AUTO_TEST_CASE(pure_statement_in_for_loop)
@@ -5502,7 +5502,7 @@ BOOST_AUTO_TEST_CASE(pure_statement_in_for_loop)
}
}
)";
- CHECK_WARNING(text, "Statement has no effects.");
+ CHECK_WARNING(text, "Statement has no effect.");
}
BOOST_AUTO_TEST_SUITE_END()