diff options
Diffstat (limited to 'tests/uninorm/test-u32-normalize-big.c')
-rw-r--r-- | tests/uninorm/test-u32-normalize-big.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/uninorm/test-u32-normalize-big.c b/tests/uninorm/test-u32-normalize-big.c index 20282cab..53cbf2b3 100644 --- a/tests/uninorm/test-u32-normalize-big.c +++ b/tests/uninorm/test-u32-normalize-big.c @@ -28,6 +28,7 @@ #include "xalloc.h" #include "unistr.h" +#define NO_MAIN_HERE #include "macros.h" #define ASSERT_WITH_LINE(expr, file, line) \ @@ -69,7 +70,7 @@ read_normalization_test_file (const char *filename, exit (1); } - for (part_index = 0; part_index < 4; part_index++) + for (part_index = 0; part_index < 6; part_index++) { file->parts[part_index].lines = NULL; file->parts[part_index].lines_length = 0; @@ -131,7 +132,7 @@ read_normalization_test_file (const char *filename, /* It's a line containing 5 sequences of Unicode characters. Parse it and append it to the current part. */ - if (!(part_index >= 0 && part_index < 4)) + if (!(part_index >= 0 && part_index < 6)) { fprintf (stderr, "unexpected structure of '%s'\n", filename); exit (1); @@ -248,7 +249,7 @@ test_specific (const struct normalization_test_file *file, { size_t part_index; - for (part_index = 0; part_index < 4; part_index++) + for (part_index = 0; part_index < 6; part_index++) { const struct normalization_test_part *p = &file->parts[part_index]; size_t line_index; @@ -308,7 +309,7 @@ free_normalization_test_file (struct normalization_test_file *file) { size_t part_index; - for (part_index = 0; part_index < 4; part_index++) + for (part_index = 0; part_index < 6; part_index++) { const struct normalization_test_part *p = &file->parts[part_index]; size_t line_index; |