Parcourir la source

[2430] Add comment about before and after scaffolding in test

Mukund Sivaraman il y a 11 ans
Parent
commit
a96232b382
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      src/lib/dns/tests/master_loader_unittest.cc

+ 3 - 0
src/lib/dns/tests/master_loader_unittest.cc

@@ -337,6 +337,9 @@ TEST_F(MasterLoaderTest, generate) {
         EXPECT_TRUE(loader_->loadedSucessfully());
         EXPECT_TRUE(errors_.empty());
 
+        // The "before" and "after" scaffolding below checks that no
+        // extra records are added by $GENERATE outside the requested
+        // range.
         checkRR("before.example.org", RRType::A(), "192.0.2.0");
         checkRR("host3.example.org", RRType::A(), "192.0.2.3");
         checkRR("host4.example.org", RRType::A(), "192.0.2.4");