tests: Call TEST_PASS macro like a function, ie TEST_PASS()
This commit is contained in:
parent
f95c1391f8
commit
c5abd71404
3 changed files with 5 additions and 5 deletions
|
|
@ -8,7 +8,7 @@
|
|||
#include "unity.h"
|
||||
|
||||
/* Need to explicitly flag once a test has completed successfully. */
|
||||
#define TEST_PASS do { UnityConcludeTest(); while(1) { } } while (0)
|
||||
#define TEST_PASS() do { UnityConcludeTest(); while(1) { } } while (0)
|
||||
|
||||
/* Types of test, defined by hardware requirements */
|
||||
typedef enum {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue