mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-07-04 08:50:13 +08:00
Fix Issue #479 (Thanks @cy18)
This commit is contained in:
@ -21,7 +21,7 @@ void UNITY_OUTPUT_CHAR(int);
|
||||
/* Helpful macros for us to use here in Assert functions */
|
||||
#define UNITY_FAIL_AND_BAIL { Unity.CurrentTestFailed = 1; UNITY_OUTPUT_FLUSH(); TEST_ABORT(); }
|
||||
#define UNITY_IGNORE_AND_BAIL { Unity.CurrentTestIgnored = 1; UNITY_OUTPUT_FLUSH(); TEST_ABORT(); }
|
||||
#define RETURN_IF_FAIL_OR_IGNORE if (Unity.CurrentTestFailed || Unity.CurrentTestIgnored) return
|
||||
#define RETURN_IF_FAIL_OR_IGNORE if (Unity.CurrentTestFailed || Unity.CurrentTestIgnored) TEST_ABORT()
|
||||
|
||||
struct UNITY_STORAGE_T Unity;
|
||||
|
||||
|
Reference in New Issue
Block a user