Commit e650a0f7 authored by Mukund Sivaraman's avatar Mukund Sivaraman

[2421] Put code inside EXPECT_NO_THROW

parent 744d1be5
...@@ -856,8 +856,11 @@ TEST_F(ListTest, BadMasterFile) { ...@@ -856,8 +856,11 @@ TEST_F(ListTest, BadMasterFile) {
" }" " }"
"}]")); "}]"));
// this should not throw even if there are any zone loading errors. EXPECT_NO_THROW({
list_->configure(elem, true); // 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], positiveResult(list_->find(Name("example.com."), true), ds_[0],
Name("example.com."), true, "example.com", true); Name("example.com."), true, "example.com", true);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment