From: Jelte Jansen Date: Wed, 29 Feb 2012 12:59:15 +0000 (+0100) Subject: [1722] update test comment X-Git-Tag: trac2351_base~226^2~116^2~146^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a9d6dd7cab00acd5379309d94ecb8b088ca3d295;p=thirdparty%2Fkea.git [1722] update test comment --- diff --git a/src/lib/dns/tests/masterload_unittest.cc b/src/lib/dns/tests/masterload_unittest.cc index 727bff3226..95ce6f3843 100644 --- a/src/lib/dns/tests/masterload_unittest.cc +++ b/src/lib/dns/tests/masterload_unittest.cc @@ -194,7 +194,7 @@ TEST_F(MasterLoadTest, loadRRWithCommentNoSpace) { } TEST_F(MasterLoadTest, loadRRWithCommentEmptyComment) { - // Similar to the previous one, but there's no space before comments. + // Similar to the previous one, but there's no data after the ; // It should still work. rr_stream << "example.com. 3600 IN DNSKEY 256 3 7 " "AwEAAaetidLzsKWUt4swWR8yu0wPHPiUi8LUsAD0QPWU+wzt89epO6tH " @@ -207,7 +207,7 @@ TEST_F(MasterLoadTest, loadRRWithCommentEmptyComment) { } TEST_F(MasterLoadTest, loadRRWithCommentEmptyCommentNoSpace) { - // Similar to the previous one, but there's no space before comments. + // Similar to the previous one, but there's no space before or after ; // It should still work. rr_stream << "example.com. 3600 IN DNSKEY 256 3 7 " "AwEAAaetidLzsKWUt4swWR8yu0wPHPiUi8LUsAD0QPWU+wzt89epO6tH " @@ -220,7 +220,7 @@ TEST_F(MasterLoadTest, loadRRWithCommentEmptyCommentNoSpace) { } TEST_F(MasterLoadTest, loadRRWithEOLWhitespace) { - // Similar to the previous one, but there's no space before comments. + // Test with whitespace after rdata // It should still work. rr_stream << "example.com. 3600 IN NSEC3PARAM 1 0 1 beef \n"; masterLoad(rr_stream, origin, zclass, callback); @@ -231,7 +231,7 @@ TEST_F(MasterLoadTest, loadRRWithEOLWhitespace) { } TEST_F(MasterLoadTest, loadRRWithEOLWhitespaceTab) { - // Similar to the previous one, but there's no space before comments. + // Similar to the previous one, tab instead of space. // It should still work. rr_stream << "example.com. 3600 IN NSEC3PARAM 1 0 1 beef\t\n"; masterLoad(rr_stream, origin, zclass, callback);