mirror of https://github.com/ARMmbed/mbed-os.git
test: fix coding style
parent
a5e8df25a1
commit
c1d00df79a
|
|
@ -30,7 +30,7 @@ void wifi_connect_params_null(void)
|
|||
error = wifi->connect(NULL, NULL);
|
||||
wifi->disconnect();
|
||||
TEST_ASSERT(error == NSAPI_ERROR_PARAMETER);
|
||||
error = wifi->connect("", "");
|
||||
error = wifi->connect("", "");
|
||||
wifi->disconnect();
|
||||
TEST_ASSERT(error == NSAPI_ERROR_PARAMETER);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ void wifi_connect_secure(void)
|
|||
TEST_ASSERT_EQUAL_INT(NSAPI_ERROR_OK, wifi->set_credentials(MBED_CONF_APP_WIFI_SECURE_SSID, MBED_CONF_APP_WIFI_PASSWORD, get_security()));
|
||||
|
||||
TEST_ASSERT_EQUAL_INT(NSAPI_ERROR_OK, wifi->connect());
|
||||
|
||||
|
||||
TEST_ASSERT_EQUAL_INT(NSAPI_ERROR_OK, wifi->disconnect());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue