mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #9701 from a3d4/fix-8885-update-test-expectations
Fix test expectation update
This commit is contained in:
commit
8c8eca3ec2
@ -300,7 +300,8 @@ string TestFunctionCall::formatRawParameters(
|
|||||||
{
|
{
|
||||||
if (param.format.newline)
|
if (param.format.newline)
|
||||||
os << endl << _linePrefix << "// ";
|
os << endl << _linePrefix << "// ";
|
||||||
os << param.rawString;
|
for (auto const c: param.rawString)
|
||||||
|
os << (c >= ' ' ? string(1, c) : "\\x" + toHex(static_cast<uint8_t>(c)));
|
||||||
if (¶m != &_params.back())
|
if (¶m != &_params.back())
|
||||||
os << ", ";
|
os << ", ";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user