From 4f872b6d2cd8523e17efcf0e678693d5ad6189cd Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Mon, 24 Aug 2015 23:10:41 +0200 Subject: Bigger field with and less history by default --- tests/hawd/dataset.cpp | 2 +- tests/hawd/formatter.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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 static const QString s_annotationKey("__annotation__"); static const QString s_hashKey("__commithash__"); -static const int s_fieldWidth(15); +static const int s_fieldWidth(20); Dataset::Row::Row(const Row &other) : 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) [cols, &rows](const Dataset::Row &row) { rows.insert(row.key(), row.toString()); }); - for (const auto &s : rows.values().mid(rows.size() - 10)) { + for (const auto &s : rows.values().mid(rows.size() - 3)) { std::cout << s.toStdString() << std::endl; } } -- cgit v1.2.3