Commit 50e76dc9 authored by Mukund Sivaraman's avatar Mukund Sivaraman

[2535] Also check the returned rrset

parent 3e9a6942
......@@ -452,6 +452,8 @@ TEST(ZoneFinderContextSQLite3Test, escapedText) {
ZoneFinderContextPtr ctx = finder->find(Name("escaped.example.org"),
RRType::TXT());
EXPECT_EQ(ZoneFinder::SUCCESS, ctx->code);
EXPECT_EQ("escaped.example.org. 3600 IN TXT \"Hello~World\\;\\\"\"\n",
ctx->rrset->toText());
}
}
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