@@ -875,11 +875,11 @@ int UnityTestMatches(void);
875
875
* Test Asserts
876
876
*-------------------------------------------------------*/
877
877
878
- #define UNITY_TEST_ASSERT (condition, line, message ) do { if (condition) { /* nothing*/ } else { UNITY_TEST_FAIL ((UNITY_LINE_TYPE)( line), (message)); } } while (0 )
879
- #define UNITY_TEST_ASSERT_NULL (pointer, line, message ) UNITY_TEST_ASSERT(((pointer) == NULL ), (UNITY_LINE_TYPE)( line), (message))
880
- #define UNITY_TEST_ASSERT_NOT_NULL (pointer, line, message ) UNITY_TEST_ASSERT(((pointer) != NULL ), (UNITY_LINE_TYPE)( line), (message))
881
- #define UNITY_TEST_ASSERT_EMPTY (pointer, line, message ) UNITY_TEST_ASSERT(((pointer[0 ]) == 0 ), (UNITY_LINE_TYPE)( line), (message))
882
- #define UNITY_TEST_ASSERT_NOT_EMPTY (pointer, line, message ) UNITY_TEST_ASSERT(((pointer[0 ]) != 0 ), (UNITY_LINE_TYPE)( line), (message))
878
+ #define UNITY_TEST_ASSERT (condition, line, message ) do { if (condition) { /* nothing*/ } else { UNITY_TEST_FAIL ((line), (message)); } } while (0 )
879
+ #define UNITY_TEST_ASSERT_NULL (pointer, line, message ) UNITY_TEST_ASSERT(((pointer) == NULL ), (line), (message))
880
+ #define UNITY_TEST_ASSERT_NOT_NULL (pointer, line, message ) UNITY_TEST_ASSERT(((pointer) != NULL ), (line), (message))
881
+ #define UNITY_TEST_ASSERT_EMPTY (pointer, line, message ) UNITY_TEST_ASSERT(((pointer[0 ]) == 0 ), (line), (message))
882
+ #define UNITY_TEST_ASSERT_NOT_EMPTY (pointer, line, message ) UNITY_TEST_ASSERT(((pointer[0 ]) != 0 ), (line), (message))
883
883
884
884
#define UNITY_TEST_ASSERT_EQUAL_INT (expected, actual, line, message ) UnityAssertEqualNumber((UNITY_INT)(expected), (UNITY_INT)(actual), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT)
885
885
#define UNITY_TEST_ASSERT_EQUAL_INT8 (expected, actual, line, message ) UnityAssertEqualNumber((UNITY_INT)(UNITY_INT8 )(expected), (UNITY_INT)(UNITY_INT8 )(actual), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT8)
0 commit comments