From 4682deeb62247d34de87f8e777f99e2d337fd377 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 20 Oct 2024 15:21:43 +0200 Subject: New upstream version 1.3 --- tests/uninorm/test-u32-normalize-big.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'tests/uninorm/test-u32-normalize-big.c') 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; -- cgit v1.2.3