diff options
Diffstat (limited to 'test/libapt/srvrecs_test.cc')
-rw-r--r-- | test/libapt/srvrecs_test.cc | 6 |
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"); |