Commit 41aef4f8 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[2905] clarify the case we pass NULL to ZoneWriter::load() in comments.

parent e7e1564b
......@@ -267,7 +267,9 @@ TEST_F(ZoneWriterTest, loadLoaderException) {
EXPECT_EQ("", error_msg);
// If we specify allowing load error, load() will succeed and install()
// adds an empty zone.
// adds an empty zone. Note that we implicitly pass NULL to load()
// as it's the default parameter, so the following also confirms it doesn't
// cause disruption.
writer_.reset(new ZoneWriter(*segment_,
bind(&ZoneWriterTest::loadAction, this, _1),
Name(""), RRClass::IN(), 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