diff --git a/src/lib/datasrc/tests/client_list_unittest.cc b/src/lib/datasrc/tests/client_list_unittest.cc index 96dcc7807532e7cf7b4c9d221b57804697d53c71..6769e9b537e426d01f7308063d159b7c1a2e4a94 100644 --- a/src/lib/datasrc/tests/client_list_unittest.cc +++ b/src/lib/datasrc/tests/client_list_unittest.cc @@ -856,8 +856,11 @@ TEST_F(ListTest, BadMasterFile) { " }" "}]")); - // this should not throw even if there are any zone loading errors. - list_->configure(elem, true); + EXPECT_NO_THROW({ + // This should not throw even if there are any zone loading + // errors. + list_->configure(elem, true); + }); positiveResult(list_->find(Name("example.com."), true), ds_[0], Name("example.com."), true, "example.com", true);