summaryrefslogtreecommitdiff
path: root/tests/aplwc_utf8.c
diff options
context:
space:
mode:
authorpeter <peter@pmikkelsen.com>2026-10-04 18:13:16 +0000
committerpeter <peter@pmikkelsen.com>2026-10-04 18:13:16 +0000
commitab9f55b03c670628d87323d636f86322147e5e40 (patch)
treeb2ab72459d6df4ef048d8746b43237c1c5f8d46a /tests/aplwc_utf8.c
parent17285405af9f0289f271ba4ca9f18c164ad2bd90 (diff)
The UTF-8 code had two NEVERs which didn't make sense.
FossilOrigin-Name: 1be20afeb238bc7c9ca36b903378d6236af521855cfe76fe59ee39f22a7533ff
Diffstat (limited to 'tests/aplwc_utf8.c')
-rw-r--r--tests/aplwc_utf8.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/aplwc_utf8.c b/tests/aplwc_utf8.c
index 44dd85a..7d14778 100644
--- a/tests/aplwc_utf8.c
+++ b/tests/aplwc_utf8.c
@@ -28,6 +28,7 @@ uint8_t bad4[] = {0xc0,0x40,0};
uint8_t bad5[] = {0xe0,0x80,0x80,0};
uint8_t bad6[] = {0xc0,0};
uint8_t bad7[] = {0xF0,0x80,0x80,0x80,0};
+uint8_t bad8[] = {0xF7,0xBF,0xBF,0xBF,0};
uint8_t good1[] = {0x61,0x70,0x6c,0x77,0x63,0};
uint8_t good2[] = {0x41,0xe2,0x89,0xa2,0xce,0x91,0x2e,0};
@@ -65,7 +66,8 @@ main(void)
bad4,
bad5,
bad6,
- bad7
+ bad7,
+ bad8
};
uint8_t *good_tests[] = {