aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-05-20 21:17:56 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-05-20 21:17:56 +0200
commit82a976c742ba88ecd2aa66074e388025f9af6231 (patch)
tree3242dca909c1d27afd9f388026dae4c6fc891cb0 /test
parent2e125c1c7e75db14a88f0b8b09e61a132977c63e (diff)
Rename normtype/NT to normform/NF
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"