summaryrefslogtreecommitdiffhomepage
path: root/tests/test-config.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-config.cpp')
-rw-r--r--tests/test-config.cpp4
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;