diff options
Diffstat (limited to 'tests/test-formatter.cpp')
-rw-r--r-- | tests/test-formatter.cpp | 4 |
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()); } |