aboutsummaryrefslogtreecommitdiff
path: root/tests/test-formatter.cpp
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-12-08 13:41:39 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-12-08 13:41:39 +0100
commitb7950517a055b6aee4d0806e32dbd466a6ae59d0 (patch)
treed10281b8d1c2221e25d1e0c159884df0ffda520a /tests/test-formatter.cpp
parentdabd7c8c65ef0132dbf75360ae83e9505cbe614d (diff)
downloadayatana-indicator-datetime-b7950517a055b6aee4d0806e32dbd466a6ae59d0.tar.gz
ayatana-indicator-datetime-b7950517a055b6aee4d0806e32dbd466a6ae59d0.tar.bz2
ayatana-indicator-datetime-b7950517a055b6aee4d0806e32dbd466a6ae59d0.zip
README.md: Add some manual line breaks.
Diffstat (limited to 'tests/test-formatter.cpp')
-rw-r--r--tests/test-formatter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-formatter.cpp b/tests/test-formatter.cpp
index 2157e7b..4436ed1 100644
--- a/tests/test-formatter.cpp
+++ b/tests/test-formatter.cpp
@@ -201,7 +201,7 @@ TEST_F(FormatterFixture, TestUpcomingTimes)
{
auto clock = std::make_shared<MockClock>(test_case.now);
DesktopFormatter f(clock, m_settings);
-
+
const auto fmt = f.relative_format(test_case.then.get());
ASSERT_EQ(test_case.expected_format_string, fmt);
}
@@ -239,7 +239,7 @@ TEST_F(FormatterFixture, TestEventTimes)
{
auto clock = std::make_shared<MockClock>(test_case.now);
DesktopFormatter f(clock, m_settings);
-
+
const auto fmt = f.relative_format(test_case.then.get(), test_case.then_end.get());
ASSERT_STREQ(test_case.expected_format_string, fmt.c_str());
}