From 38a84e19e2964552a166b857e9c5519d38fb8316 Mon Sep 17 00:00:00 2001 From: Sam Atman Date: Thu, 15 May 2025 15:21:59 -0400 Subject: Update README.md Fixes #55 --- README.md | 1 + 1 file changed, 1 insertion(+) (limited to 'README.md') diff --git a/README.md b/README.md index 5b471b5..4af2ca2 100644 --- a/README.md +++ b/README.md @@ -82,6 +82,7 @@ test "Code point iterator" { // The `offset` field is the byte offset in the // source string. try expect(cp.offset == 3); + try expectEqual(code_point.CodePoint, code_point.decodeAtIndex(str, cp.offset)); // The `len` field is the length in bytes of the // code point in the source string. -- cgit v1.2.3