mirror of https://github.com/ARMmbed/mbed-os.git
rtc time test: fix coding style
parent
7d7bfd7bf2
commit
501bc29426
|
@ -183,7 +183,7 @@ void test_set_time_twice()
|
||||||
/* Set the time to NEW_TIME and check it */
|
/* Set the time to NEW_TIME and check it */
|
||||||
set_time(NEW_TIME);
|
set_time(NEW_TIME);
|
||||||
current_time = time(NULL);
|
current_time = time(NULL);
|
||||||
TEST_ASSERT_EQUAL (true, (current_time == NEW_TIME));
|
TEST_ASSERT_EQUAL(true, (current_time == NEW_TIME));
|
||||||
|
|
||||||
/* Wait 2 seconds */
|
/* Wait 2 seconds */
|
||||||
wait_ms(2000);
|
wait_ms(2000);
|
||||||
|
@ -191,7 +191,7 @@ void test_set_time_twice()
|
||||||
/* set the time to NEW_TIME again and check it */
|
/* set the time to NEW_TIME again and check it */
|
||||||
set_time(NEW_TIME);
|
set_time(NEW_TIME);
|
||||||
current_time = time(NULL);
|
current_time = time(NULL);
|
||||||
TEST_ASSERT_EQUAL (true, (current_time == NEW_TIME));
|
TEST_ASSERT_EQUAL(true, (current_time == NEW_TIME));
|
||||||
}
|
}
|
||||||
|
|
||||||
Case cases[] = {
|
Case cases[] = {
|
||||||
|
|
Loading…
Reference in New Issue