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

@ -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 {