diff options
| author | 2025-04-30 20:54:03 -0400 | |
|---|---|---|
| committer | 2025-04-30 20:54:03 -0400 | |
| commit | c3157557a28e1d7f86efbf7907bc6e1defe89cc1 (patch) | |
| tree | 2d9cce497e368412ed4ac8bb09d34bf17ddecf91 | |
| parent | Unicode 16.0 (diff) | |
| download | zg-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.md | 4 | ||||
| -rw-r--r-- | src/unicode_tests.zig | 1 |
2 files changed, 3 insertions, 2 deletions
| @@ -4,7 +4,7 @@ zg provides Unicode text processing for Zig projects. | |||
| 4 | 4 | ||
| 5 | ## Unicode Version | 5 | ## Unicode Version |
| 6 | 6 | ||
| 7 | The Unicode version supported by zg is `15.1.0`. | 7 | The 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 | ``` |
| 407 | This has a `setupWithNormalize` variant as well, but note that this also takes | 407 | This has a `setupWithNormalize` variant as well, note that this also takes |
| 408 | a `Normalize` struct, and not a pointer to it. | 408 | a `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"); | |||
| 16 | comptime { | 16 | comptime { |
| 17 | testing.refAllDecls(grapheme); | 17 | testing.refAllDecls(grapheme); |
| 18 | } | 18 | } |
| 19 | |||
| 19 | test "Iterator.peek" { | 20 | test "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); |