X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-hash.c;h=0ee24ec8b13a4abbe04fab1f44fc3e3fd15c94b7;hb=41d7de2bc881ddb3ce8a8a40552724ebb893108a;hp=2e7c550af16c64ffc3af120839a0cd5e60998c50;hpb=2d4d7d9d00fe33b6f5291e00a30b6c1016775b74;p=gnulib.git diff --git a/tests/test-hash.c b/tests/test-hash.c index 2e7c550af..0ee24ec8b 100644 --- a/tests/test-hash.c +++ b/tests/test-hash.c @@ -28,21 +28,11 @@ #include #include +#include "macros.h" + #define STREQ(a, b) (strcmp (a, b) == 0) #define ARRAY_CARDINALITY(Array) (sizeof (Array) / sizeof *(Array)) -#define ASSERT(expr) \ - do \ - { \ - if (!(expr)) \ - { \ - fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ - fflush (stderr); \ - abort (); \ - } \ - } \ - while (0) - static bool hash_compare_strings (void const *x, void const *y) {