]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1688] some more trivial cleanups: long line, comment wording, simplification.
authorJINMEI Tatuya <jinmei@isc.org>
Wed, 21 Mar 2012 21:44:32 +0000 (14:44 -0700)
committerJINMEI Tatuya <jinmei@isc.org>
Wed, 21 Mar 2012 21:44:32 +0000 (14:44 -0700)
src/bin/auth/tests/query_unittest.cc

index 53edcf27c8f3a81e6eb207c08bb1c08120d51770..35fc88d6bf001dfdfebc8c46a61204c3ae98b44d 100644 (file)
@@ -2369,7 +2369,7 @@ TEST_F(QueryTest, emptyNameWithNSEC3) {
     EXPECT_FALSE(result->isWildcard());
 }
 
-// Class to allow checking of duplication removal in messages resulting from.
+// Class to allow checking of duplication removal in messages resulting from
 // the query.  This class allows the setting of the answers, authorities and
 // additionals vector in the Query class, as well as the ability to call the
 // createResponse() method.
@@ -2440,7 +2440,7 @@ TEST_F(QueryTest, DuplicateNameRemoval) {
     loadRRsetVector();
     EXPECT_EQ(9, rrset_vector.size());
 
-    // Create an answer, authority and authority vector with some overlapping
+    // Create an answer, authority and additional vector with some overlapping
     // entries.  The following indicate which elements from rrset_vector
     // go into each section vector.  (The values have been separated to show
     // the overlap.)
@@ -2523,10 +2523,11 @@ TEST_F(QueryTest, DuplicateNameRemoval) {
             // message will only refer to the loop indexes).
             stringstream ss;
             ss << "section " << section << ", name "
-               << rrset_vector[vecindex]->getName().toText();
+               << rrset_vector[vecindex]->getName();
             SCOPED_TRACE(ss.str());
 
-            // Check RRset is in the right section and not in the wrong section.
+            // Check RRset is in the right section and not in the wrong
+            // section.
             if (sections[section] == expected_section[vecindex]) {
                 EXPECT_TRUE(message.hasRRset(sections[section],
                             rrset_vector[vecindex]));