@@ -216,15 +216,15 @@ TEST_F(NotBeforeTest, RemoveIfByClass_no_cond) {
216216 // removing less than / more than available matches
217217 EXPECT_EQ (
218218 queue.remove_if_by_class (
219- 17 , [](const tv_t &v) { return true ; }, 1 ),
219+ 17U , [](const tv_t &v) { return true ; }, 1 ),
220220 1 );
221221 EXPECT_EQ (
222222 queue.remove_if_by_class (
223- 17 , [](const tv_t &v) { return true ; }, 10 ),
223+ 17U , [](const tv_t &v) { return true ; }, 10 ),
224224 3 );
225225 EXPECT_EQ (
226226 queue.remove_if_by_class (
227- 57 , [](const tv_t &v) { return v.ordering_value == 41 ; }),
227+ 57U , [](const tv_t &v) { return v.ordering_value == 41 ; }),
228228 3 );
229229}
230230
@@ -237,17 +237,17 @@ TEST_F(NotBeforeTest, RemoveIfByClass_with_cond) {
237237 // rm from both eligible and non-eligible
238238 EXPECT_EQ (
239239 queue.remove_if_by_class (
240- 57 , [](const tv_t &v) { return v.ordering_value == 43 ; }),
240+ 57U , [](const tv_t &v) { return v.ordering_value == 43 ; }),
241241 3 );
242242 EXPECT_EQ (
243243 queue.remove_if_by_class (
244- 53 , [](const tv_t &v) { return v.ordering_value == 44 ; }),
244+ 53U , [](const tv_t &v) { return v.ordering_value == 44 ; }),
245245 2 );
246246
247247 ASSERT_EQ (queue.total_count (), 17 );
248248 EXPECT_EQ (
249249 queue.remove_if_by_class (
250- 57 , [](const tv_t &v) { return v.ordering_value > 10 ; }, 20 ),
250+ 57U , [](const tv_t &v) { return v.ordering_value > 10 ; }, 20 ),
251251 5 );
252252}
253253
0 commit comments