tests: Call TEST_PASS macro like a function, ie TEST_PASS()

This commit is contained in:
Angus Gratton 2016-02-24 22:14:00 +11:00
parent f95c1391f8
commit c5abd71404
3 changed files with 5 additions and 5 deletions

View file

@ -36,7 +36,7 @@ static void a_01_scheduler_basic()
TEST_ASSERT_TRUE_MESSAGE(a, "task set_a should have run");
TEST_ASSERT_TRUE_MESSAGE(b, "task set_b should have run");
TEST_ASSERT_TRUE_MESSAGE(c, "task set_c should have run");
TEST_PASS;
TEST_PASS();
}
/* Verify that a high-priority task will starve a lower priority task */
@ -67,5 +67,5 @@ static void a_01_scheduler_priorities()
vTaskDelay(1);
TEST_ASSERT_TRUE_MESSAGE(lower, "lower prio task should have run");
TEST_PASS;
TEST_PASS();
}