aboutsummaryrefslogtreecommitdiff
path: root/test/_norm-test.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/_norm-test.h')
-rw-r--r--test/_norm-test.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/_norm-test.h b/test/_norm-test.h
index 8df9f3f..43f8731 100644
--- a/test/_norm-test.h
+++ b/test/_norm-test.h
@@ -85,13 +85,13 @@ test(struct u8view sv, int id)
for (size_t i = 0; i < 5; i++) {
size_t base;
const char *nt = STR(NORMTYPE);
- if (streq(nt, "NT_NFC"))
+ if (streq(nt, "NF_NFC"))
base = i < 3 ? 1 : 3;
- else if (streq(nt, "NT_NFD"))
+ else if (streq(nt, "NF_NFD"))
base = i < 3 ? 2 : 4;
- else if (streq(nt, "NT_NFKC"))
+ else if (streq(nt, "NF_NFKC"))
base = 3;
- else if (streq(nt, "NT_NFKD"))
+ else if (streq(nt, "NF_NFKD"))
base = 4;
else
err("invalid NORMTYPE ā€˜%sā€™", nt);