aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/_norm-test.h8
-rw-r--r--test/norm-nfc-test.c2
-rw-r--r--test/norm-nfd-test.c2
-rw-r--r--test/norm-nfkc-test.c2
-rw-r--r--test/norm-nfkd-test.c2
5 files changed, 8 insertions, 8 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);
diff --git a/test/norm-nfc-test.c b/test/norm-nfc-test.c
index 176cd69..2d1f089 100644
--- a/test/norm-nfc-test.c
+++ b/test/norm-nfc-test.c
@@ -1,2 +1,2 @@
-#define NORMTYPE NT_NFC
+#define NORMTYPE NF_NFC
#include "_norm-test.h"
diff --git a/test/norm-nfd-test.c b/test/norm-nfd-test.c
index 816bba5..15d67ef 100644
--- a/test/norm-nfd-test.c
+++ b/test/norm-nfd-test.c
@@ -1,2 +1,2 @@
-#define NORMTYPE NT_NFD
+#define NORMTYPE NF_NFD
#include "_norm-test.h"
diff --git a/test/norm-nfkc-test.c b/test/norm-nfkc-test.c
index cddce1c..193da52 100644
--- a/test/norm-nfkc-test.c
+++ b/test/norm-nfkc-test.c
@@ -1,2 +1,2 @@
-#define NORMTYPE NT_NFKC
+#define NORMTYPE NF_NFKC
#include "_norm-test.h"
diff --git a/test/norm-nfkd-test.c b/test/norm-nfkd-test.c
index 34bebca..79feb46 100644
--- a/test/norm-nfkd-test.c
+++ b/test/norm-nfkd-test.c
@@ -1,2 +1,2 @@
-#define NORMTYPE NT_NFKD
+#define NORMTYPE NF_NFKD
#include "_norm-test.h"