Made code easier to read

This commit is contained in:
2021-11-22 11:07:14 +01:00
parent 800c141a87
commit 5ad045fa58
4 changed files with 14 additions and 17 deletions

View File

@@ -6,9 +6,9 @@ using namespace detail;
TEST(Format, positive_int) {
constexpr std::array<char, 8> control1 = {'0', '0', '0', '2',
'2', '2', '2', '2'};
constexpr std::array<char, 8> formatted1 = format<"{:08}">(22222);
constexpr std::array<char, 8> control1 = {'0', '0', '0', '0',
'0', '0', '0', '2'};
constexpr std::array<char, 8> formatted1 = format<"{:08}">(2);
constexpr std::array<char, 8> control2 = {' ', ' ', ' ', '2',
'2', '2', '2', '2'};