未验证 提交 39caa186 编写于 作者: C cheng_jinsong 提交者: Gitee

update test/unittest/init/init_reboot_unittest.cpp.

Signed-off-by: Ncheng_jinsong <chengjinsong2@huawei.com>
Signed-off-by: Ncheng_jinsong <chengjinsong2@huawei.com>
上级 d69b1215
......@@ -41,7 +41,7 @@ HWTEST_F(InitRebootUnitTest, TestAddRebootCmd, TestSize.Level1)
{
auto rebootCallback = [](int id, const char *name, int argc, const char **argv) -> int {
return 0;
}
};
int ret = AddRebootCmdExecutor("reboot_cmd1", rebootCallback);
EXPECT_EQ(ret, 0);
ret = AddRebootCmdExecutor("reboot_cmd2", rebootCallback);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册