diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-08-24 23:10:41 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-08-24 23:10:41 +0200 |
commit | 4f872b6d2cd8523e17efcf0e678693d5ad6189cd (patch) | |
tree | c1263cd188f29f4ea3faa6fd8f93689b913a3f03 /tests/hawd | |
parent | fb610349945326579eb0ec9e781930f7931591b0 (diff) | |
download | sink-4f872b6d2cd8523e17efcf0e678693d5ad6189cd.tar.gz sink-4f872b6d2cd8523e17efcf0e678693d5ad6189cd.zip |
Bigger field with and less history by default
Diffstat (limited to 'tests/hawd')
-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 | } |