mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-30 13:37:55 +00:00
[master] Use equality operator to compare iterators in unit test.
This commit is contained in:
@@ -2164,11 +2164,11 @@ TEST_F(Dhcpv6SrvTest, rsoo) {
|
|||||||
client.doSARR();
|
client.doSARR();
|
||||||
|
|
||||||
// Option 110 should be copied to the client
|
// Option 110 should be copied to the client
|
||||||
EXPECT_NE(client.config_.options_.find(110), client.config_.options_.end());
|
EXPECT_FALSE(client.config_.options_.find(110) == client.config_.options_.end());
|
||||||
|
|
||||||
// Options 109 and 111 should not be copied (they are not RSOO-enabled)
|
// Options 109 and 111 should not be copied (they are not RSOO-enabled)
|
||||||
EXPECT_EQ(client.config_.options_.find(109), client.config_.options_.end());
|
EXPECT_TRUE(client.config_.options_.find(109) == client.config_.options_.end());
|
||||||
EXPECT_EQ(client.config_.options_.find(111), client.config_.options_.end());
|
EXPECT_TRUE(client.config_.options_.find(111) == client.config_.options_.end());
|
||||||
}
|
}
|
||||||
|
|
||||||
// Test that the server processes RSOO (Relay Supplied Options option) correctly
|
// Test that the server processes RSOO (Relay Supplied Options option) correctly
|
||||||
|
Reference in New Issue
Block a user