summaryrefslogtreecommitdiff
path: root/tests/test_resolver_hints.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_resolver_hints.cc')
-rw-r--r--tests/test_resolver_hints.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test_resolver_hints.cc b/tests/test_resolver_hints.cc
index f2e577d4..8393fdf2 100644
--- a/tests/test_resolver_hints.cc
+++ b/tests/test_resolver_hints.cc
@@ -119,6 +119,12 @@ public:
hint h(resolver_tests[i].h);
CPPUNIT_ASSERT_MESSAGE("Testing copy constructor: ", h == resolver_tests[i].h);
+
+ hint h2;
+ h2 = resolver_tests[i].h;
+
+ CPPUNIT_ASSERT_MESSAGE("Testing operator=: ", h2 == resolver_tests[i].h);
+ CPPUNIT_ASSERT_MESSAGE("Testing operator= and copy constructor: ", h == h2);
}
}