|
@@ -141,8 +141,7 @@ TEST_F(RRsetCollectionTest, addAndRemove) {
|
|
|
|
|
|
TEST_F(RRsetCollectionTest, iteratorTest) {
|
|
|
// The collection must not be empty.
|
|
|
- RRsetCollection::iterator iter = collection.begin();
|
|
|
- EXPECT_NE(collection.end(), iter);
|
|
|
+ EXPECT_NE(collection.end(), collection.begin());
|
|
|
|
|
|
// Here, we just count the records and do some basic tests on them.
|
|
|
size_t count = 0;
|