]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1397] Fix variable that's tested
authorMukund Sivaraman <muks@isc.org>
Thu, 16 Jan 2014 12:37:42 +0000 (18:07 +0530)
committerMukund Sivaraman <muks@isc.org>
Thu, 16 Jan 2014 12:37:42 +0000 (18:07 +0530)
src/lib/dns/tests/rrset_unittest.cc

index 3120e1cbb4d47eb4b0a405e1fe850923dcf78401..78276cbbae5f78bc2606e647d4e3189a41a842e4 100644 (file)
@@ -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.