Skip to content

Commit 7e53f26

Browse files
committed
tests: fix coding style
1 parent a7a0d52 commit 7e53f26

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

TESTS/mbed_hal/minimum_requirements/main.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ static void minimum_data_test()
5353
}
5454

5555

56-
utest::v1::status_t greentea_test_setup(const size_t number_of_cases)
56+
utest::v1::status_t greentea_test_setup(const size_t number_of_cases)
5757
{
5858
GREENTEA_SETUP(30, "default_auto");
5959
return greentea_test_setup_handler(number_of_cases);
@@ -66,6 +66,7 @@ Case cases[] = {
6666

6767
Specification specification(greentea_test_setup, cases, greentea_test_teardown_handler);
6868

69-
int main() {
69+
int main()
70+
{
7071
Harness::run(specification);
7172
}

TESTS/network/wifi/wifi_connect.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ void wifi_connect(void)
3131
{
3232
WiFiInterface *wifi = get_interface();
3333

34-
char ssid[SSID_MAX_LEN+1] = MBED_CONF_APP_WIFI_UNSECURE_SSID;
34+
char ssid[SSID_MAX_LEN + 1] = MBED_CONF_APP_WIFI_UNSECURE_SSID;
3535

3636
TEST_ASSERT_EQUAL_INT(NSAPI_ERROR_OK, wifi->set_credentials(ssid, NULL));
3737
TEST_ASSERT_EQUAL_INT(NSAPI_ERROR_OK, wifi->connect());
@@ -42,7 +42,7 @@ void wifi_connect(void)
4242
TEST_ASSERT_EQUAL_INT(NSAPI_ERROR_OK, wifi->disconnect());
4343

4444
// Driver is expected to cache the credentials
45-
memset(ssid, 0, SSID_MAX_LEN+1);
45+
memset(ssid, 0, SSID_MAX_LEN + 1);
4646

4747
TEST_ASSERT_EQUAL_INT(NSAPI_ERROR_OK, wifi->connect());
4848
TEST_ASSERT_EQUAL_INT(NSAPI_ERROR_OK, wifi->disconnect());

0 commit comments

Comments
 (0)