2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 05:55:28 +00:00

[1627] (editorial) folded long lines

This commit is contained in:
JINMEI Tatuya
2012-03-29 13:59:38 -07:00
committed by Mukund Sivaraman
parent 77eddb37c5
commit 88a80126ce

View File

@@ -193,12 +193,13 @@ TEST_F(NameTest, fromText) {
"012345678901234567890123456789"
"01\\111"));
// A domain name must be 255 octets or less
checkBadTextName<TooLongName>("123456789.123456789.123456789.123456789.123456789."
"123456789.123456789.123456789.123456789.123456789."
"123456789.123456789.123456789.123456789.123456789."
"123456789.123456789.123456789.123456789.123456789."
"123456789.123456789.123456789.123456789.123456789."
"1234");
checkBadTextName<TooLongName>("123456789.123456789.123456789.123456789."
"123456789.123456789.123456789.123456789."
"123456789.123456789.123456789.123456789."
"123456789.123456789.123456789.123456789."
"123456789.123456789.123456789.123456789."
"123456789.123456789.123456789.123456789."
"123456789.1234");
// This is a possible longest name and should be accepted
EXPECT_NO_THROW(Name("123456789.123456789.123456789.123456789.123456789."
"123456789.123456789.123456789.123456789.123456789."