summaryrefslogtreecommitdiffstats
path: root/src/lib/dns/tests/rdata_sshfp_unittest.cc
diff options
context:
space:
mode:
authorPaul Selkirk <pselkirk@isc.org>2013-05-23 15:36:26 +0200
committerPaul Selkirk <pselkirk@isc.org>2013-05-23 15:36:26 +0200
commite08a21c3bdc637a447d68da727fa3f4cb6a26112 (patch)
tree8d85350676f2cd3692c101230d6db9363ce80693 /src/lib/dns/tests/rdata_sshfp_unittest.cc
parent[2522] TSIG documentation, TSIG unit test string constructors (diff)
downloadkea-e08a21c3bdc637a447d68da727fa3f4cb6a26112.tar.xz
kea-e08a21c3bdc637a447d68da727fa3f4cb6a26112.zip
[2522] a couple more TSIG and SSHFP unit tests
Diffstat (limited to 'src/lib/dns/tests/rdata_sshfp_unittest.cc')
-rw-r--r--src/lib/dns/tests/rdata_sshfp_unittest.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/dns/tests/rdata_sshfp_unittest.cc b/src/lib/dns/tests/rdata_sshfp_unittest.cc
index c900367a60..7df24d5637 100644
--- a/src/lib/dns/tests/rdata_sshfp_unittest.cc
+++ b/src/lib/dns/tests/rdata_sshfp_unittest.cc
@@ -155,6 +155,9 @@ TEST_F(Rdata_SSHFP_Test, badText) {
TEST_F(Rdata_SSHFP_Test, copy) {
const generic::SSHFP rdata_sshfp2(rdata_sshfp);
EXPECT_EQ(0, rdata_sshfp.compare(rdata_sshfp2));
+
+ const generic::SSHFP rdata_sshfp3 = rdata_sshfp;
+ EXPECT_EQ(0, rdata_sshfp.compare(rdata_sshfp3));
}
TEST_F(Rdata_SSHFP_Test, createFromWire) {