diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/hawd/dataset.cpp | 2 | ||||
-rw-r--r-- | tests/hawd/formatter.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/hawd/dataset.cpp b/tests/hawd/dataset.cpp index 49f8c75..585406b 100644 --- a/tests/hawd/dataset.cpp +++ b/tests/hawd/dataset.cpp | |||
@@ -31,7 +31,7 @@ namespace HAWD | |||
31 | 31 | ||
32 | static const QString s_annotationKey("__annotation__"); | 32 | static const QString s_annotationKey("__annotation__"); |
33 | static const QString s_hashKey("__commithash__"); | 33 | static const QString s_hashKey("__commithash__"); |
34 | static const int s_fieldWidth(15); | 34 | static const int s_fieldWidth(20); |
35 | 35 | ||
36 | Dataset::Row::Row(const Row &other) | 36 | Dataset::Row::Row(const Row &other) |
37 | : m_key(other.m_key), | 37 | : m_key(other.m_key), |
diff --git a/tests/hawd/formatter.cpp b/tests/hawd/formatter.cpp index 4221b03..e38df35 100644 --- a/tests/hawd/formatter.cpp +++ b/tests/hawd/formatter.cpp | |||
@@ -48,7 +48,7 @@ void Formatter::print(Dataset &dataset, const QStringList &cols) | |||
48 | [cols, &rows](const Dataset::Row &row) { | 48 | [cols, &rows](const Dataset::Row &row) { |
49 | rows.insert(row.key(), row.toString()); | 49 | rows.insert(row.key(), row.toString()); |
50 | }); | 50 | }); |
51 | for (const auto &s : rows.values().mid(rows.size() - 10)) { | 51 | for (const auto &s : rows.values().mid(rows.size() - 3)) { |
52 | std::cout << s.toStdString() << std::endl; | 52 | std::cout << s.toStdString() << std::endl; |
53 | } | 53 | } |
54 | } | 54 | } |