diff options
Diffstat (limited to 'src/lib/dns/tests/rdata_cname_unittest.cc')
-rw-r--r-- | src/lib/dns/tests/rdata_cname_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/dns/tests/rdata_cname_unittest.cc b/src/lib/dns/tests/rdata_cname_unittest.cc index d6b02aa49b..2cce9bc849 100644 --- a/src/lib/dns/tests/rdata_cname_unittest.cc +++ b/src/lib/dns/tests/rdata_cname_unittest.cc @@ -97,11 +97,11 @@ TEST_F(Rdata_CNAME_Test, toWireBuffer) { TEST_F(Rdata_CNAME_Test, toWireRenderer) { rdata_cname.toWire(renderer); EXPECT_PRED_FORMAT4(UnitTestUtil::matchWireData, - obuffer.getData(), obuffer.getLength(), + renderer.getData(), renderer.getLength(), wiredata_cname, sizeof(wiredata_cname)); rdata_cname2.toWire(renderer); EXPECT_PRED_FORMAT4(UnitTestUtil::matchWireData, - obuffer.getData(), obuffer.getLength(), + renderer.getData(), renderer.getLength(), wiredata_cname2, sizeof(wiredata_cname2)); } |