Commit be23568a authored by Mukund Sivaraman's avatar Mukund Sivaraman
Browse files

[master] Make name absolute so that Rdata can be constructed for it

parent 42073d9d
......@@ -825,7 +825,7 @@ TEST_F(RdataSerializationTest, badAddRdata) {
EXPECT_THROW(encoder_.addRdata(*aaaa_rdata_), std::bad_cast);
const ConstRdataPtr rp_rdata =
createRdata(RRType::RP(), RRClass::IN(), "a.example. b.example");
createRdata(RRType::RP(), RRClass::IN(), "a.example. b.example.");
encoder_.start(RRClass::IN(), RRType::NS());
EXPECT_THROW(encoder_.addRdata(*rp_rdata), std::bad_cast);
......
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