Parcourir la source

[2851] updated comment wording for reloadZoneGone test.

it now doesn't throw an exception but reject the attempt with an error code.
JINMEI Tatuya il y a 12 ans
Parent
commit
211025a21a
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      src/lib/datasrc/tests/client_list_unittest.cc

+ 2 - 2
src/lib/datasrc/tests/client_list_unittest.cc

@@ -965,8 +965,8 @@ TEST_F(ListTest, reloadNoSuchZone) {
                        RRType::A())->code);
 }
 
-// Check we gracefuly throw an exception when a zone disappeared in
-// the underlying data source when we want to reload it
+// Check we gracefully reject reloading (i.e. no exception) when a zone
+// disappeared in the underlying data source when we want to reload it
 TEST_F(ListTest, reloadZoneGone) {
     list_->configure(config_elem_zones_, true);
     const Name name("example.org");