X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-getndelim2.c;h=18e15a210a78a6424e1071436d4891e010835e26;hb=870daa58035b4bb39549f15d20ad1422dd649d63;hp=ff641bd518a82e8b50f1d4b6b7bfc04183d6400c;hpb=3e2d7ac6c75ad7c92d25f59d11bd455d37ba4e37;p=gnulib.git diff --git a/tests/test-getndelim2.c b/tests/test-getndelim2.c index ff641bd51..18e15a210 100644 --- a/tests/test-getndelim2.c +++ b/tests/test-getndelim2.c @@ -1,5 +1,5 @@ /* Test of getndelim2() function. - Copyright (C) 2008, 2009 Free Software Foundation, Inc. + Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -25,17 +25,7 @@ #include #include -#define ASSERT(expr) \ - do \ - { \ - if (!(expr)) \ - { \ - fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ - fflush (stderr); \ - abort (); \ - } \ - } \ - while (0) +#include "macros.h" int main (void)