diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-05-14 22:53:08 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-05-14 22:53:08 +0200 |
commit | a624e3343e1183aa0f2d4b05afea50eef348651a (patch) | |
tree | f5bfeaa7ff4c59b11edb5d2fc50a0a42562e1ba5 /test | |
parent | 4262f2f0faecd72b65019701cc219634e41fa7c6 (diff) |
Test more cases
Diffstat (limited to 'test')
-rw-r--r-- | test/norm-nfd-test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/norm-nfd-test.c b/test/norm-nfd-test.c index 00b53d2..02fde47 100644 --- a/test/norm-nfd-test.c +++ b/test/norm-nfd-test.c @@ -80,8 +80,8 @@ test(struct u8view sv, int id) DAPUSH(&columns, ((struct u8view){s.buf, s.len})); } - for (size_t i = 0; i < 3; i++) { - size_t base = 2; + for (size_t i = 0; i < 5; i++) { + size_t base = i < 3 ? 2 : 4; struct u8view normd = {}; normd.p = u8norm_nfd(&normd.len, columns.buf[i], alloc_arena, &ctx); if (!u8eq(columns.buf[base], normd)) { |