diff options
author | Roland Reichwein <mail@reichwein.it> | 2023-01-01 15:48:43 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2023-01-01 15:48:43 +0100 |
commit | 6c339d8aab380a191fe3fce7ca7dc7c09e252ebd (patch) | |
tree | ca5a1288fcbc5299b5bf5cc28d012a5bd6147549 /tests/test-config.cpp | |
parent | cbf1ba38794ab6a323441dcc3b0e5e942f7ab386 (diff) |
Tests and coverage on gcc and clang
Diffstat (limited to 'tests/test-config.cpp')
-rw-r--r-- | tests/test-config.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; |