Commit d7abfb58 authored by Francis Dupont's avatar Francis Dupont
Browse files

[master] Changed NULL to 0 for FreeBSD build

parent 35968a3b
......@@ -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",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment