diff options
Diffstat (limited to 'tests/test-array_list.c')
-rw-r--r-- | tests/test-array_list.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/test-array_list.c b/tests/test-array_list.c index 9426294e76..48619e4fe4 100644 --- a/tests/test-array_list.c +++ b/tests/test-array_list.c @@ -31,15 +31,15 @@ static const char *objects[15] = #define SIZEOF(array) (sizeof (array) / sizeof (array[0])) #define ASSERT(expr) \ - do \ - { \ - if (!(expr)) \ - { \ + do \ + { \ + if (!(expr)) \ + { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ - fflush (stderr); \ - abort (); \ - } \ - } \ + fflush (stderr); \ + abort (); \ + } \ + } \ while (0) #define RANDOM(n) (rand () % (n)) #define RANDOM_OBJECT() objects[RANDOM (SIZEOF (objects))] |