summaryrefslogtreecommitdiff
path: root/tests/unictype/test-decdigit.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2009-12-10 20:28:30 +0100
committerBruno Haible <bruno@clisp.org>2009-12-10 20:28:30 +0100
commit441aa3044f43e5572f58c354f01e6bc070acd5c7 (patch)
treebef236e8058dd3469da28ffcd5a6a287222a4c50 /tests/unictype/test-decdigit.c
parent039ae97b8ae35a2446c5d62d72b21689c97da7e2 (diff)
downloadgnulib-441aa3044f43e5572f58c354f01e6bc070acd5c7.tar.gz
Use spaces for indentation, not tabs.
Diffstat (limited to 'tests/unictype/test-decdigit.c')
-rw-r--r--tests/unictype/test-decdigit.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/unictype/test-decdigit.c b/tests/unictype/test-decdigit.c
index 3d916908ae..04064ef9de 100644
--- a/tests/unictype/test-decdigit.c
+++ b/tests/unictype/test-decdigit.c
@@ -23,15 +23,15 @@
#include <string.h>
#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 SIZEOF(a) (sizeof(a) / sizeof(a[0]))
@@ -50,7 +50,7 @@ main ()
for (i = 0; i < SIZEOF (mapping); i++)
{
for (; c < mapping[i].ch; c++)
- ASSERT (uc_decimal_value (c) == -1);
+ ASSERT (uc_decimal_value (c) == -1);
/* Here c = mapping[i].ch. */
ASSERT (uc_decimal_value (c) == mapping[i].value);
c++;