diff options
Diffstat (limited to 'src/lib/dns/tests/rdata_unittest.cc')
-rw-r--r-- | src/lib/dns/tests/rdata_unittest.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/dns/tests/rdata_unittest.cc b/src/lib/dns/tests/rdata_unittest.cc index fa791dc053..5be06e8693 100644 --- a/src/lib/dns/tests/rdata_unittest.cc +++ b/src/lib/dns/tests/rdata_unittest.cc @@ -38,8 +38,7 @@ namespace isc { namespace dns { namespace rdata { RdataTest::RdataTest() : - obuffer(0), renderer(obuffer), - rdata_nomatch(createRdata(RRType(0), RRClass(1), "\\# 0")) + obuffer(0), rdata_nomatch(createRdata(RRType(0), RRClass(1), "\\# 0")) {} RdataPtr @@ -245,7 +244,7 @@ TEST_F(Rdata_Unknown_Test, toWireBuffer) { TEST_F(Rdata_Unknown_Test, toWireRenderer) { rdata_unknown.toWire(renderer); EXPECT_PRED_FORMAT4(UnitTestUtil::matchWireData, - obuffer.getData(), obuffer.getLength(), + renderer.getData(), renderer.getLength(), wiredata_unknown, sizeof(wiredata_unknown)); } |