aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/ErrorCheck.cpp
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-07-13 21:08:36 +0800
committerGitHub <noreply@github.com>2017-07-13 21:08:36 +0800
commit2b33e0bcecdb2afe6a7ea242bce83480bb50a071 (patch)
tree7c72c8b06b3f51a29eef7b11b8c000b97ae86a30 /test/libsolidity/ErrorCheck.cpp
parent757c500bda9a32cccc86e1ab24da31a99c0e6eac (diff)
parentda917333d9e4d084808ccf26b3ef4cd83e4f0bcb (diff)
downloaddexon-solidity-2b33e0bcecdb2afe6a7ea242bce83480bb50a071.tar
dexon-solidity-2b33e0bcecdb2afe6a7ea242bce83480bb50a071.tar.gz
dexon-solidity-2b33e0bcecdb2afe6a7ea242bce83480bb50a071.tar.bz2
dexon-solidity-2b33e0bcecdb2afe6a7ea242bce83480bb50a071.tar.lz
dexon-solidity-2b33e0bcecdb2afe6a7ea242bce83480bb50a071.tar.xz
dexon-solidity-2b33e0bcecdb2afe6a7ea242bce83480bb50a071.tar.zst
dexon-solidity-2b33e0bcecdb2afe6a7ea242bce83480bb50a071.zip
Merge pull request #2544 from federicobond/error-value-transfer-non-payable
Add type error when attempting to transfer value to a non-payable contract
Diffstat (limited to 'test/libsolidity/ErrorCheck.cpp')
-rw-r--r--test/libsolidity/ErrorCheck.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/ErrorCheck.cpp b/test/libsolidity/ErrorCheck.cpp
index 9b0f9fb7..7a66c6c7 100644
--- a/test/libsolidity/ErrorCheck.cpp
+++ b/test/libsolidity/ErrorCheck.cpp
@@ -32,7 +32,7 @@ bool dev::solidity::searchErrorMessage(Error const& _err, std::string const& _su
{
if (errorMessage->find(_substr) == std::string::npos)
{
- cout << "Expected message \"" << _substr << "\" but found" << *errorMessage << endl;
+ cout << "Expected message \"" << _substr << "\" but found \"" << *errorMessage << "\".\n";
return false;
}
return true;