提交 03bf0685 编写于 作者: M mlinlmcc 提交者: Gitee

修复setup中的检查点检查值错误

上级 5ee83f75
......@@ -265,7 +265,7 @@ static BOOL WifiServiceFuncTestSuiteSetUp(void)
g_wifiEventHandler.OnHotspotStaLeave = OnHotspotStaLeaveHandler;
g_wifiEventHandler.OnHotspotStateChanged = OnHotspotStateChangedHandler;
error = RegisterWifiEvent(&g_wifiEventHandler);
TEST_ASSERT_EQUAL_INT(WIFI_SUCCESS, ret);
TEST_ASSERT_EQUAL_INT(WIFI_SUCCESS, error);
if (error != WIFI_SUCCESS) {
printf("[Setup]register wifi event fail!\n");
return FALSE;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册