summaryrefslogtreecommitdiff
path: root/tests/uninorm/test-u32-normalize-big.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2024-10-20 15:21:43 +0200
committerJörg Frings-Fürst <debian@jff.email>2024-10-20 15:21:43 +0200
commit4682deeb62247d34de87f8e777f99e2d337fd377 (patch)
tree5bd5b5605b5f3a4b3c8ea7468c34c23094afdef4 /tests/uninorm/test-u32-normalize-big.c
parent00893e79fc62966067af1a106567db96bd170338 (diff)
New upstream version 1.3upstream/1.3upstream
Diffstat (limited to 'tests/uninorm/test-u32-normalize-big.c')
-rw-r--r--tests/uninorm/test-u32-normalize-big.c9
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;