Skip to content
GitLab
Menu
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
d7abfb58
Commit
d7abfb58
authored
Feb 09, 2017
by
Francis Dupont
Browse files
[master] Changed NULL to 0 for FreeBSD build
parent
35968a3b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/config/tests/command_mgr_unittests.cc
View file @
d7abfb58
...
...
@@ -232,8 +232,8 @@ TEST_F(CommandMgrTest, handlerInstall) {
// Check that it's not allowed to install NULL pointer instead of a real
// command.
EXPECT_THROW
(
CommandMgr
::
instance
().
registerCommand
(
"my-command"
,
NULL
),
InvalidCommandHandler
);
EXPECT_THROW
(
CommandMgr
::
instance
().
registerCommand
(
"my-command"
,
0
),
InvalidCommandHandler
);
// This registration should succeed.
EXPECT_NO_THROW
(
CommandMgr
::
instance
().
registerCommand
(
"my-command"
,
...
...
Write
Preview
Supports
Markdown
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