]> granicus.if.org Git - pdns/commitdiff
rec: Fix a typo in the comment of one of the SyncRes unit tests
authorRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 20 Feb 2019 15:48:40 +0000 (16:48 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 20 Feb 2019 15:48:40 +0000 (16:48 +0100)
pdns/recursordist/test-syncres_cc.cc

index d65d623b2fa719c9aab4bcb4413cdd133053a1fa..8736f32aee43dac397c1f50c1e6487d43c2a8dbb 100644 (file)
@@ -9382,7 +9382,7 @@ BOOST_AUTO_TEST_CASE(test_dnssec_rrsig_negcache_bogus_validity) {
   BOOST_REQUIRE_EQUAL(ret.size(), 3);
   BOOST_CHECK_EQUAL(queriesCount, 4);
 
-  /* check that the entry has not been negatively cached but not longer than s_maxbogusttl */
+  /* check that the entry has been negatively cached but not longer than s_maxbogusttl */
   const NegCache::NegCacheEntry* ne = nullptr;
   BOOST_CHECK_EQUAL(SyncRes::t_sstorage.negcache.size(), 1);
   BOOST_REQUIRE_EQUAL(SyncRes::t_sstorage.negcache.get(target, QType(QType::A), sr->getNow(), &ne), true);