Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sebastian Schrader
Kea
Commits
00482386
Commit
00482386
authored
Jan 07, 2013
by
Mukund Sivaraman
Browse files
[2432] Use ASSERT_TRUE to not crash test suite in some places
parent
1fa69473
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/dns/tests/rrset_collection_unittest.cc
View file @
00482386
...
...
@@ -47,12 +47,12 @@ TEST_F(RRsetCollectionTest, istreamConstructor) {
RRsetCollectionBase
::
Iterator
iter
=
collection
.
begin
();
RRsetCollectionBase
::
Iterator
iter2
=
collection2
.
begin
();
while
(
iter
!=
collection
.
end
())
{
EXPEC
T_TRUE
(
iter2
!=
collection2
.
end
());
ASSER
T_TRUE
(
iter2
!=
collection2
.
end
());
EXPECT_EQ
((
*
iter
).
toText
(),
(
*
iter2
).
toText
());
++
iter
;
++
iter2
;
}
EXPEC
T_TRUE
(
iter2
==
collection2
.
end
());
ASSER
T_TRUE
(
iter2
==
collection2
.
end
());
}
template
<
typename
T
,
typename
TP
>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment