summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancis Dupont <fdupont@isc.org>2024-08-22 14:51:01 +0200
committerFrancis Dupont <fdupont@isc.org>2024-08-22 17:01:32 +0200
commit5e7ba78999797c530166c5d2f7e3e43980340117 (patch)
treef5182f29fa4f9e48c8dad2d9eec22423744275d9
parent[#3496] Removed the dubious line of code (diff)
downloadkea-5e7ba78999797c530166c5d2f7e3e43980340117.tar.xz
kea-5e7ba78999797c530166c5d2f7e3e43980340117.zip
[#3496] Extra changes by Razvan
-rw-r--r--src/lib/dhcp/tests/libdhcp++_unittest.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/dhcp/tests/libdhcp++_unittest.cc b/src/lib/dhcp/tests/libdhcp++_unittest.cc
index 3985b711b1..2b51a119b0 100644
--- a/src/lib/dhcp/tests/libdhcp++_unittest.cc
+++ b/src/lib/dhcp/tests/libdhcp++_unittest.cc
@@ -949,6 +949,7 @@ TEST_F(LibDhcpTest, unpackEmptyOption6) {
ASSERT_TRUE(option_empty);
EXPECT_EQ(1024, option_empty->getType());
EXPECT_EQ(4, option_empty->len());
+ EXPECT_TRUE(option_empty->getEncapsulatedSpace().empty());
}
// This test verifies that the following option structure can be parsed:
@@ -2120,6 +2121,7 @@ TEST_F(LibDhcpTest, unpackEmptyOption4) {
ASSERT_TRUE(option_empty);
EXPECT_EQ(254, option_empty->getType());
EXPECT_EQ(2, option_empty->len());
+ EXPECT_TRUE(option_empty->getEncapsulatedSpace().empty());
}
// This test verifies that the following option structure can be parsed:
@@ -2375,7 +2377,7 @@ TEST_F(LibDhcpTest, option43Pad) {
}
// Verifies that option 255 (END) is handled as END in option 43 (so when
-//flexible pad end flag is true) only when option 255 (END) is not defined.
+// flexible pad end flag is true) only when option 255 (END) is not defined.
TEST_F(LibDhcpTest, option43End) {
string space = "my-option43-space";