From 03bf068567e0d836ccaa7a08ca0559c10f270b4b Mon Sep 17 00:00:00 2001 From: mlinlmcc <359830662@qq.com> Date: Mon, 23 Nov 2020 14:37:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dsetup=E4=B8=AD=E7=9A=84?= =?UTF-8?q?=E6=A3=80=E6=9F=A5=E7=82=B9=E6=A3=80=E6=9F=A5=E5=80=BC=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- communication_lite/wifiservice_hal/src/wifiservice_func_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/communication_lite/wifiservice_hal/src/wifiservice_func_test.c b/communication_lite/wifiservice_hal/src/wifiservice_func_test.c index 048646ebb..07c43cf64 100755 --- a/communication_lite/wifiservice_hal/src/wifiservice_func_test.c +++ b/communication_lite/wifiservice_hal/src/wifiservice_func_test.c @@ -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; -- GitLab