Skip to content

Commit a9959df

Browse files
committed
Returning lost spaces
1 parent b2360fa commit a9959df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/unity.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -894,12 +894,12 @@ void UnityAssertEqualIntArray(UNITY_INTERNAL_PTR expected,
894894
/*-----------------------------------------------*/
895895
#ifndef UNITY_EXCLUDE_FLOAT
896896
/* Wrap this define in a function with variable types as float or double */
897-
#define UNITY_FLOAT_OR_DOUBLE_WITHIN(delta, expected, actual, diff) \
897+
#define UNITY_FLOAT_OR_DOUBLE_WITHIN(delta, expected, actual, diff) \
898898
if (isinf(expected) && isinf(actual) && (((expected) < 0) == ((actual) < 0))) return 1; \
899899
if (UNITY_NAN_CHECK) return 1; \
900900
(diff) = (actual) - (expected); \
901901
if ((diff) < 0) (diff) = -(diff); \
902-
if ((delta) < 0) (delta) = -(delta); \
902+
if ((delta) < 0) (delta) = -(delta); \
903903
return !(isnan(diff) || isinf(diff) || ((diff) > (delta)))
904904
/* This first part of this condition will catch any NaN or Infinite values */
905905
#ifndef UNITY_NAN_NOT_EQUAL_NAN

0 commit comments

Comments
 (0)