Commit 62acfe9d authored by Francis Dupont's avatar Francis Dupont
Browse files

[4501] Update for #5122

parent 193b0b03
...@@ -4746,10 +4746,10 @@ TEST_F(Dhcp4ParserTest, outsideSubnetPool) { ...@@ -4746,10 +4746,10 @@ TEST_F(Dhcp4ParserTest, outsideSubnetPool) {
ASSERT_NO_THROW(text = comment->stringValue()); ASSERT_NO_THROW(text = comment->stringValue());
EXPECT_EQ(1, rcode); EXPECT_EQ(1, rcode);
string expected = "subnet configuration failed (<string>:5:14): " string expected = "subnet configuration failed: "
"a pool of type V4, with the following address range: " "a pool of type V4, with the following address range: "
"192.0.2.1-192.0.2.100 does not match the prefix of a subnet: " "192.0.2.1-192.0.2.100 does not match the prefix of a subnet: "
"10.0.2.0/24 to which it is being added"; "10.0.2.0/24 to which it is being added (<string>:5:14)";
EXPECT_EQ(expected, text); EXPECT_EQ(expected, text);
} }
......
...@@ -5219,10 +5219,10 @@ TEST_F(Dhcp6ParserTest, outsideSubnetPool) { ...@@ -5219,10 +5219,10 @@ TEST_F(Dhcp6ParserTest, outsideSubnetPool) {
ASSERT_NO_THROW(text = comment->stringValue()); ASSERT_NO_THROW(text = comment->stringValue());
EXPECT_EQ(1, rcode); EXPECT_EQ(1, rcode);
string expected = "subnet configuration failed (<string>:6:14): " string expected = "subnet configuration failed: "
"a pool of type IA_NA, with the following address range: " "a pool of type IA_NA, with the following address range: "
"2001:db8::-2001:db8::ffff does not match the prefix of " "2001:db8::-2001:db8::ffff does not match the prefix of a subnet: "
"a subnet: 2001:dc8::/32 to which it is being added"; "2001:dc8::/32 to which it is being added (<string>:6:14)";
EXPECT_EQ(expected, text); EXPECT_EQ(expected, text);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment