From d739edef761f3bf576dc45da6611279a3f68596e Mon Sep 17 00:00:00 2001 From: jacqueline Date: Tue, 9 May 2023 11:20:57 +1000 Subject: Fix tests! Includes removing some that never passed and/or weren't quite a good idea --- src/database/database.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/database') diff --git a/src/database/database.cpp b/src/database/database.cpp index 747ecc25..47ad8ca6 100644 --- a/src/database/database.cpp +++ b/src/database/database.cpp @@ -311,7 +311,8 @@ auto parse_dump(const leveldb::Slice& key, const leveldb::Slice& value) } else if (i == 1) { stream << " / 0x"; } else { - stream << std::hex << std::setfill('0') << std::setw(2) << static_cast(str[i]); + stream << std::hex << std::setfill('0') << std::setw(2) + << static_cast(str[i]); } } for (std::size_t i = 2; i < str.size(); i++) { @@ -320,7 +321,8 @@ auto parse_dump(const leveldb::Slice& key, const leveldb::Slice& value) stream << "\tval: 0x"; std::string str = value.ToString(); for (int i = 0; i < value.size(); i++) { - stream << std::hex << std::setfill('0') << std::setw(2) << static_cast(str[i]); + stream << std::hex << std::setfill('0') << std::setw(2) + << static_cast(str[i]); } return stream.str(); } -- cgit v1.2.3