From c3157557a28e1d7f86efbf7907bc6e1defe89cc1 Mon Sep 17 00:00:00 2001 From: Sam Atman Date: Wed, 30 Apr 2025 20:54:03 -0400 Subject: Update Unicode version in README.md Lets me slip these in: Closes #12 Closes #14 --- README.md | 4 ++-- src/unicode_tests.zig | 1 + 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. ## Unicode Version -The Unicode version supported by zg is `15.1.0`. +The Unicode version supported by zg is `16.0.0`. ## Zig Version @@ -404,7 +404,7 @@ test "Initialize With a Normalize" { defer case_fold.deinit(allocator); } ``` -This has a `setupWithNormalize` variant as well, but note that this also takes +This has a `setupWithNormalize` variant as well, note that this also takes a `Normalize` struct, and not a pointer to it. 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"); comptime { testing.refAllDecls(grapheme); } + test "Iterator.peek" { const peek_seq = "aΔ👨🏻‍🌾→"; const data = try Graphemes.init(std.testing.allocator); -- cgit v1.2.3