mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-30 21:45:37 +00:00
[1627] (editorial) folded long lines
This commit is contained in:
committed by
Mukund Sivaraman
parent
77eddb37c5
commit
88a80126ce
@@ -193,12 +193,13 @@ TEST_F(NameTest, fromText) {
|
|||||||
"012345678901234567890123456789"
|
"012345678901234567890123456789"
|
||||||
"01\\111"));
|
"01\\111"));
|
||||||
// A domain name must be 255 octets or less
|
// A domain name must be 255 octets or less
|
||||||
checkBadTextName<TooLongName>("123456789.123456789.123456789.123456789.123456789."
|
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.123456789.123456789."
|
"123456789.123456789.123456789.123456789."
|
||||||
"123456789.123456789.123456789.123456789.123456789."
|
"123456789.123456789.123456789.123456789."
|
||||||
"1234");
|
"123456789.123456789.123456789.123456789."
|
||||||
|
"123456789.1234");
|
||||||
// This is a possible longest name and should be accepted
|
// This is a possible longest name and should be accepted
|
||||||
EXPECT_NO_THROW(Name("123456789.123456789.123456789.123456789.123456789."
|
EXPECT_NO_THROW(Name("123456789.123456789.123456789.123456789.123456789."
|
||||||
"123456789.123456789.123456789.123456789.123456789."
|
"123456789.123456789.123456789.123456789.123456789."
|
||||||
|
Reference in New Issue
Block a user