summaryrefslogtreecommitdiff
path: root/tests/unilbrk/test-ulc-width-linebreaks.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unilbrk/test-ulc-width-linebreaks.c')
-rw-r--r--tests/unilbrk/test-ulc-width-linebreaks.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/tests/unilbrk/test-ulc-width-linebreaks.c b/tests/unilbrk/test-ulc-width-linebreaks.c
index c0b2301950..4661978811 100644
--- a/tests/unilbrk/test-ulc-width-linebreaks.c
+++ b/tests/unilbrk/test-ulc-width-linebreaks.c
@@ -25,15 +25,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)
int
@@ -53,9 +53,9 @@ main ()
ulc_width_linebreaks (input, SIZEOF (input), 12, 0, 0, NULL, "ISO-8859-1", p);
for (i = 0; i < 36; i++)
{
- ASSERT (p[i] == (i == 35 ? UC_BREAK_MANDATORY :
- i == 11 || i == 21 || i == 31 ? UC_BREAK_POSSIBLE :
- UC_BREAK_PROHIBITED));
+ ASSERT (p[i] == (i == 35 ? UC_BREAK_MANDATORY :
+ i == 11 || i == 21 || i == 31 ? UC_BREAK_POSSIBLE :
+ UC_BREAK_PROHIBITED));
}
free (p);
}