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
b9fbf54c
Commit
b9fbf54c
authored
Jun 19, 2015
by
Francis Dupont
Browse files
[3618] Fixed ambiguous comment
parent
f691a7f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/dhcp/tests/pkt6_unittest.cc
View file @
b9fbf54c
...
...
@@ -353,7 +353,8 @@ TEST_F(Pkt6Test, unpackMalformed) {
Pkt6Ptr
too_short_pkt
(
new
Pkt6
(
&
shorty
[
0
],
shorty
.
size
()));
EXPECT_THROW
(
too_short_pkt
->
unpack
(),
isc
::
BadValue
);
// The code should complain about remaining bytes that can't be parsed.
// The code should complain about remaining bytes that can't be parsed
// but doesn't do so yet.
Pkt6Ptr
trailing_garbage
(
new
Pkt6
(
&
malform1
[
0
],
malform1
.
size
()));
EXPECT_NO_THROW
(
trailing_garbage
->
unpack
());
...
...
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