summaryrefslogtreecommitdiff
path: root/test/libapt/srvrecs_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/libapt/srvrecs_test.cc')
-rw-r--r--test/libapt/srvrecs_test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/libapt/srvrecs_test.cc b/test/libapt/srvrecs_test.cc
index 4fcc96dae..f04257970 100644
--- a/test/libapt/srvrecs_test.cc
+++ b/test/libapt/srvrecs_test.cc
@@ -16,16 +16,16 @@ TEST(SrvRecTest, PopFromSrvRecs)
Meep.emplace_back("bar", 20, 0, 80);
Meep.emplace_back("baz", 30, 0, 80);
- EXPECT_EQ(Meep.size(), 3);
+ EXPECT_EQ(Meep.size(), 3u);
SrvRec const result = PopFromSrvRecs(Meep);
// ensure that pop removed one element
- EXPECT_EQ(Meep.size(), 2);
+ EXPECT_EQ(Meep.size(), 2u);
EXPECT_NE(result.target, "baz");
SrvRec const result2 = PopFromSrvRecs(Meep);
EXPECT_NE(result.target, result2.target);
EXPECT_NE(result2.target, "baz");
- EXPECT_EQ(Meep.size(), 1);
+ EXPECT_EQ(Meep.size(), 1u);
SrvRec const result3 = PopFromSrvRecs(Meep);
EXPECT_EQ(result3.target, "baz");