mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix error message formatting
This commit is contained in:
1 parent
f20b150f38
commit
da917333d9
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user