mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-01-26 01:41:35 +01:00
Condense all longjmp calls into TEST_ABORT()
The setjmp calls are all in TEST_PROTECT() already
This commit is contained in:
@@ -72,7 +72,7 @@ void tearDown(void);
|
||||
|
||||
/* It is not necessary for you to call PASS. A PASS condition is assumed if nothing fails.
|
||||
* This method allows you to abort a test immediately with a PASS state, ignoring the remainder of the test. */
|
||||
#define TEST_PASS() longjmp(Unity.AbortFrame, 1)
|
||||
#define TEST_PASS() TEST_ABORT()
|
||||
|
||||
/*-------------------------------------------------------
|
||||
* Test Asserts (simple)
|
||||
|
||||
Reference in New Issue
Block a user