File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -949,6 +949,7 @@ TEST_F(LibDhcpTest, unpackEmptyOption6) {
949
949
ASSERT_TRUE (option_empty);
950
950
EXPECT_EQ (1024 , option_empty->getType ());
951
951
EXPECT_EQ (4 , option_empty->len ());
952
+ EXPECT_TRUE (option_empty->getEncapsulatedSpace ().empty ());
952
953
}
953
954
954
955
// This test verifies that the following option structure can be parsed:
@@ -2120,6 +2121,7 @@ TEST_F(LibDhcpTest, unpackEmptyOption4) {
2120
2121
ASSERT_TRUE (option_empty);
2121
2122
EXPECT_EQ (254 , option_empty->getType ());
2122
2123
EXPECT_EQ (2 , option_empty->len ());
2124
+ EXPECT_TRUE (option_empty->getEncapsulatedSpace ().empty ());
2123
2125
}
2124
2126
2125
2127
// This test verifies that the following option structure can be parsed:
@@ -2375,7 +2377,7 @@ TEST_F(LibDhcpTest, option43Pad) {
2375
2377
}
2376
2378
2377
2379
// 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.
2379
2381
TEST_F (LibDhcpTest, option43End) {
2380
2382
string space = " my-option43-space" ;
2381
2383
You can’t perform that action at this time.
0 commit comments