Skip to content

Commit 5e7ba78

Browse files
committed
[#3496] Extra changes by Razvan
1 parent 1ca5071 commit 5e7ba78

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/lib/dhcp/tests/libdhcp++_unittest.cc

+3-1
Original file line numberDiff line numberDiff line change
@@ -949,6 +949,7 @@ TEST_F(LibDhcpTest, unpackEmptyOption6) {
949949
ASSERT_TRUE(option_empty);
950950
EXPECT_EQ(1024, option_empty->getType());
951951
EXPECT_EQ(4, option_empty->len());
952+
EXPECT_TRUE(option_empty->getEncapsulatedSpace().empty());
952953
}
953954

954955
// This test verifies that the following option structure can be parsed:
@@ -2120,6 +2121,7 @@ TEST_F(LibDhcpTest, unpackEmptyOption4) {
21202121
ASSERT_TRUE(option_empty);
21212122
EXPECT_EQ(254, option_empty->getType());
21222123
EXPECT_EQ(2, option_empty->len());
2124+
EXPECT_TRUE(option_empty->getEncapsulatedSpace().empty());
21232125
}
21242126

21252127
// This test verifies that the following option structure can be parsed:
@@ -2375,7 +2377,7 @@ TEST_F(LibDhcpTest, option43Pad) {
23752377
}
23762378

23772379
// Verifies that option 255 (END) is handled as END in option 43 (so when
2378-
//flexible pad end flag is true) only when option 255 (END) is not defined.
2380+
// flexible pad end flag is true) only when option 255 (END) is not defined.
23792381
TEST_F(LibDhcpTest, option43End) {
23802382
string space = "my-option43-space";
23812383

0 commit comments

Comments
 (0)