Browse Source

[1627] (editorial) folded long lines

JINMEI Tatuya 13 years ago
parent
commit
88a80126ce
1 changed files with 7 additions and 6 deletions
  1. 7 6
      src/lib/dns/tests/name_unittest.cc

+ 7 - 6
src/lib/dns/tests/name_unittest.cc

@@ -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."