Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Pavel Zhukov
Kea
Commits
1f094e18
Commit
1f094e18
authored
Mar 16, 2019
by
Francis Dupont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[430-configure-location-of-datadir] Fixed another post rebase issue
parent
a48840c7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/bin/dhcp4/tests/parser_unittest.cc
src/bin/dhcp4/tests/parser_unittest.cc
+1
-1
src/bin/dhcp6/tests/parser_unittest.cc
src/bin/dhcp6/tests/parser_unittest.cc
+1
-1
No files found.
src/bin/dhcp4/tests/parser_unittest.cc
View file @
1f094e18
...
...
@@ -292,7 +292,7 @@ TEST(ParserTest, file) {
TEST
(
ParserTest
,
globalParameters
)
{
ConstElementPtr
json
;
Parser4Context
ctx
;
string
fname
=
string
(
CFG_EXAMPLES
)
+
"/"
+
"all-keys.json"
;
string
fname
=
string
(
CFG_EXAMPLES
)
+
"/"
+
"all-keys
-current
.json"
;
EXPECT_NO_THROW
(
json
=
ctx
.
parseFile
(
fname
,
Parser4Context
::
PARSER_DHCP4
));
EXPECT_NO_THROW
(
json
=
json
->
get
(
"Dhcp4"
));
SimpleParser4
parser
;
...
...
src/bin/dhcp6/tests/parser_unittest.cc
View file @
1f094e18
...
...
@@ -302,7 +302,7 @@ TEST(ParserTest, file) {
TEST
(
ParserTest
,
globalParameters
)
{
ConstElementPtr
json
;
Parser6Context
ctx
;
string
fname
=
string
(
CFG_EXAMPLES
)
+
"/"
+
"all-keys.json"
;
string
fname
=
string
(
CFG_EXAMPLES
)
+
"/"
+
"all-keys
-current
.json"
;
EXPECT_NO_THROW
(
json
=
ctx
.
parseFile
(
fname
,
Parser6Context
::
PARSER_DHCP6
));
EXPECT_NO_THROW
(
json
=
json
->
get
(
"Dhcp6"
));
SimpleParser6
parser
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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