Merge pull request #9701 from a3d4/fix-8885-update-test-expectations

Fix test expectation update
This commit is contained in:
chriseth 2020-08-31 13:39:11 +02:00 committed by GitHub
commit 8c8eca3ec2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -300,7 +300,8 @@ string TestFunctionCall::formatRawParameters(
{
if (param.format.newline)
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 (&param != &_params.back())
os << ", ";
}