mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #9401 from ethereum/isoltest-update-hex
Fix formatting hex strings in isoltest update
This commit is contained in:
commit
0212a16b02
@ -22,6 +22,7 @@
|
||||
|
||||
#include <liblangutil/Common.h>
|
||||
|
||||
#include <libsolutil/CommonData.h>
|
||||
#include <libsolutil/StringUtils.h>
|
||||
|
||||
#include <boost/algorithm/string.hpp>
|
||||
@ -198,8 +199,7 @@ string BytesUtils::formatString(bytes const& _bytes, size_t _cutOff)
|
||||
if (isprint(v))
|
||||
os << v;
|
||||
else
|
||||
os << "\\x" << setw(2) << setfill('0') << hex << v;
|
||||
|
||||
os << "\\x" << toHex(v);
|
||||
}
|
||||
}
|
||||
os << "\"";
|
||||
|
Loading…
Reference in New Issue
Block a user