Browse Source

[1397] Fix variable that's tested

Mukund Sivaraman 11 years ago
parent
commit
0022aaf1bd
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/lib/dns/tests/rrset_unittest.cc

+ 1 - 2
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.