summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Sam Atman2025-04-30 20:54:03 -0400
committerGravatar Sam Atman2025-04-30 20:54:03 -0400
commitc3157557a28e1d7f86efbf7907bc6e1defe89cc1 (patch)
tree2d9cce497e368412ed4ac8bb09d34bf17ddecf91
parentUnicode 16.0 (diff)
downloadzg-c3157557a28e1d7f86efbf7907bc6e1defe89cc1.tar.gz
zg-c3157557a28e1d7f86efbf7907bc6e1defe89cc1.tar.xz
zg-c3157557a28e1d7f86efbf7907bc6e1defe89cc1.zip
Update Unicode version in README.md
Lets me slip these in: Closes #12 Closes #14
-rw-r--r--README.md4
-rw-r--r--src/unicode_tests.zig1
2 files changed, 3 insertions, 2 deletions
diff --git a/README.md b/README.md
index 538a38d..6bcd3df 100644
--- a/README.md
+++ b/README.md
@@ -4,7 +4,7 @@ zg provides Unicode text processing for Zig projects.
4 4
5## Unicode Version 5## Unicode Version
6 6
7The Unicode version supported by zg is `15.1.0`. 7The Unicode version supported by zg is `16.0.0`.
8 8
9## Zig Version 9## Zig Version
10 10
@@ -404,7 +404,7 @@ test "Initialize With a Normalize" {
404 defer case_fold.deinit(allocator); 404 defer case_fold.deinit(allocator);
405} 405}
406``` 406```
407This has a `setupWithNormalize` variant as well, but note that this also takes 407This has a `setupWithNormalize` variant as well, note that this also takes
408a `Normalize` struct, and not a pointer to it. 408a `Normalize` struct, and not a pointer to it.
409 409
410 410
diff --git a/src/unicode_tests.zig b/src/unicode_tests.zig
index 1c4b888..2249007 100644
--- a/src/unicode_tests.zig
+++ b/src/unicode_tests.zig
@@ -16,6 +16,7 @@ const Normalize = @import("Normalize");
16comptime { 16comptime {
17 testing.refAllDecls(grapheme); 17 testing.refAllDecls(grapheme);
18} 18}
19
19test "Iterator.peek" { 20test "Iterator.peek" {
20 const peek_seq = "aΔ👨🏻‍🌾→"; 21 const peek_seq = "aΔ👨🏻‍🌾→";
21 const data = try Graphemes.init(std.testing.allocator); 22 const data = try Graphemes.init(std.testing.allocator);