From 6c339d8aab380a191fe3fce7ca7dc7c09e252ebd Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sun, 1 Jan 2023 15:48:43 +0100 Subject: Tests and coverage on gcc and clang --- tests/test-config.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test-config.cpp') diff --git a/tests/test-config.cpp b/tests/test-config.cpp index 065dedf..cd358a6 100644 --- a/tests/test-config.cpp +++ b/tests/test-config.cpp @@ -33,7 +33,7 @@ TEST_F(ConfigTest, defaultData) { Config config{filename}; EXPECT_EQ(config.getDataPath(), "/var/lib/whiteboard"); - EXPECT_EQ(config.getMaxage(), 0); + EXPECT_EQ(config.getMaxage(), 0UL); ASSERT_TRUE(!fs::exists(filename)); } @@ -52,7 +52,7 @@ TEST_F(ConfigTest, testData) { Config config{testConfigFilename}; EXPECT_EQ(config.getDataPath(), "/some/other/location"); - EXPECT_EQ(config.getMaxage(), 2592000); + EXPECT_EQ(config.getMaxage(), 2592000UL); } std::error_code ec; -- cgit v1.2.3