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:
parent
f20b150f38
commit
da917333d9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user