Browse Source

[2387] Test NSEC3PARAM operator= correctly

Mukund Sivaraman 12 years ago
parent
commit
85655172ba
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/lib/dns/tests/rdata_nsec3param_unittest.cc

+ 2 - 1
src/lib/dns/tests/rdata_nsec3param_unittest.cc

@@ -194,7 +194,8 @@ TEST_F(Rdata_NSEC3PARAM_Test, getFlags) {
 }
 
 TEST_F(Rdata_NSEC3PARAM_Test, assign) {
-    generic::NSEC3PARAM other_nsec3param = rdata_nsec3param;
+    generic::NSEC3PARAM other_nsec3param("1 1 1 -");
+    other_nsec3param = rdata_nsec3param;
     EXPECT_EQ(0, rdata_nsec3param.compare(other_nsec3param));
 }