From: Mukund Sivaraman Date: Thu, 16 Jan 2014 12:37:42 +0000 (+0530) Subject: [1397] Fix variable that's tested X-Git-Tag: bind10-1.2.0beta1-release~81^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0022aaf1bd3bb9bb91bbf5542fdd962848776b59;p=thirdparty%2Fkea.git [1397] Fix variable that's tested --- diff --git a/src/lib/dns/tests/rrset_unittest.cc b/src/lib/dns/tests/rrset_unittest.cc index 3120e1cbb4..78276cbbae 100644 --- a/src/lib/dns/tests/rrset_unittest.cc +++ b/src/lib/dns/tests/rrset_unittest.cc @@ -157,8 +157,7 @@ TEST_F(RRsetTest, addRdataPtr) { rrset_a_empty.addRdata(createRdata(rrset_a_empty.getType(), rrset_a_empty.getClass(), "192.0.2.2")); - - addRdataTestCommon(rrset_a); + addRdataTestCommon(rrset_a_empty); // Pointer version of addRdata() doesn't type check and does allow to //add a different type of Rdata as a result.