mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 14:05:33 +00:00
@@ -150,7 +150,7 @@ TEST(FreeLeaseQueueTest, removeRange) {
|
|||||||
ASSERT_NO_THROW(lq.addRange(range1));
|
ASSERT_NO_THROW(lq.addRange(range1));
|
||||||
ASSERT_NO_THROW(lq.addRange(range2));
|
ASSERT_NO_THROW(lq.addRange(range2));
|
||||||
|
|
||||||
bool removed;
|
bool removed = false;
|
||||||
|
|
||||||
// Expect true to be returned when the range is removed.
|
// Expect true to be returned when the range is removed.
|
||||||
ASSERT_NO_THROW(removed = lq.removeRange(range1));
|
ASSERT_NO_THROW(removed = lq.removeRange(range1));
|
||||||
@@ -182,7 +182,7 @@ TEST(FreeLeaseQueueTest, removePrefixRange) {
|
|||||||
ASSERT_NO_THROW(lq.addRange(range1));
|
ASSERT_NO_THROW(lq.addRange(range1));
|
||||||
ASSERT_NO_THROW(lq.addRange(range2));
|
ASSERT_NO_THROW(lq.addRange(range2));
|
||||||
|
|
||||||
bool removed;
|
bool removed = false;
|
||||||
|
|
||||||
// Expect true to be returned when the range is removed.
|
// Expect true to be returned when the range is removed.
|
||||||
ASSERT_NO_THROW(removed = lq.removeRange(range1));
|
ASSERT_NO_THROW(removed = lq.removeRange(range1));
|
||||||
|
Reference in New Issue
Block a user