aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorFederico Bond <federicobond@gmail.com>2017-07-13 10:59:45 +0800
committerFederico Bond <federicobond@gmail.com>2017-07-13 10:59:45 +0800
commitda917333d9e4d084808ccf26b3ef4cd83e4f0bcb (patch)
tree7c72c8b06b3f51a29eef7b11b8c000b97ae86a30 /test
parentf20b150f3830d7a014258d92a26aba6a2bbdc8cb (diff)
downloaddexon-solidity-da917333d9e4d084808ccf26b3ef4cd83e4f0bcb.tar
dexon-solidity-da917333d9e4d084808ccf26b3ef4cd83e4f0bcb.tar.gz
dexon-solidity-da917333d9e4d084808ccf26b3ef4cd83e4f0bcb.tar.bz2
dexon-solidity-da917333d9e4d084808ccf26b3ef4cd83e4f0bcb.tar.lz
dexon-solidity-da917333d9e4d084808ccf26b3ef4cd83e4f0bcb.tar.xz
dexon-solidity-da917333d9e4d084808ccf26b3ef4cd83e4f0bcb.tar.zst
dexon-solidity-da917333d9e4d084808ccf26b3ef4cd83e4f0bcb.zip
Fix error message formatting
Diffstat (limited to 'test')
-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;