Fix error message formatting

This commit is contained in:
Federico Bond 2017-07-12 23:59:45 -03:00
parent f20b150f38
commit da917333d9

View File

@ -32,7 +32,7 @@ bool dev::solidity::searchErrorMessage(Error const& _err, std::string const& _su
{ {
if (errorMessage->find(_substr) == std::string::npos) 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 false;
} }
return true; return true;