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
ISC Open Source Projects
Kea
Commits
5f47e182
Commit
5f47e182
authored
Mar 29, 2017
by
Marcin Siodelski
Browse files
[5078] Corrected expected result in two unit tests.
parent
f35a9f68
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/bin/dhcp4/tests/ctrl_dhcp4_srv_unittest.cc
View file @
5f47e182
...
...
@@ -413,7 +413,7 @@ TEST_F(CtrlChannelDhcpv4SrvTest, controlChannelNegative) {
std
::
string
response
;
sendUnixCommand
(
"{
\"
command
\"
:
\"
bogus
\"
}"
,
response
);
EXPECT_EQ
(
"{
\"
result
\"
:
1
,"
EXPECT_EQ
(
"{
\"
result
\"
:
2
,"
"
\"
text
\"
:
\"
'bogus' command not supported.
\"
}"
,
response
);
sendUnixCommand
(
"utter nonsense"
,
response
);
...
...
src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc
View file @
5f47e182
...
...
@@ -780,7 +780,7 @@ TEST_F(CtrlChannelDhcpv6SrvTest, controlChannelNegative) {
std
::
string
response
;
sendUnixCommand
(
"{
\"
command
\"
:
\"
bogus
\"
}"
,
response
);
EXPECT_EQ
(
"{
\"
result
\"
:
1
,"
EXPECT_EQ
(
"{
\"
result
\"
:
2
,"
"
\"
text
\"
:
\"
'bogus' command not supported.
\"
}"
,
response
);
sendUnixCommand
(
"utter nonsense"
,
response
);
...
...
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