From: JINMEI Tatuya Date: Wed, 21 Mar 2012 21:44:32 +0000 (-0700) Subject: [1688] some more trivial cleanups: long line, comment wording, simplification. X-Git-Tag: trac2351_base~226^2~116^2~66^2~10^2~11 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=826ac1a139f2c14e94d4b3477950daa02efc98ea;p=thirdparty%2Fkea.git [1688] some more trivial cleanups: long line, comment wording, simplification. --- diff --git a/src/bin/auth/tests/query_unittest.cc b/src/bin/auth/tests/query_unittest.cc index 53edcf27c8..35fc88d6bf 100644 --- a/src/bin/auth/tests/query_unittest.cc +++ b/src/bin/auth/tests/query_unittest.cc @@ -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]));