summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMukund Sivaraman <muks@isc.org>2013-04-03 14:54:56 +0200
committerMukund Sivaraman <muks@isc.org>2013-04-03 14:54:56 +0200
commit85655172ba34a2d3c44731880f0e439d8933d277 (patch)
tree4f6ccf3867ef801a904c07b8e071f347882ea7b5
parent[2387] Test DNSKEY operator= correctly (diff)
downloadkea-85655172ba34a2d3c44731880f0e439d8933d277.tar.xz
kea-85655172ba34a2d3c44731880f0e439d8933d277.zip
[2387] Test NSEC3PARAM operator= correctly
-rw-r--r--src/lib/dns/tests/rdata_nsec3param_unittest.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/dns/tests/rdata_nsec3param_unittest.cc b/src/lib/dns/tests/rdata_nsec3param_unittest.cc
index 4c1b2abc56..4fccbf311b 100644
--- a/src/lib/dns/tests/rdata_nsec3param_unittest.cc
+++ b/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));
}