summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md1
1 files changed, 1 insertions, 0 deletions
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" {
82 // The `offset` field is the byte offset in the 82 // The `offset` field is the byte offset in the
83 // source string. 83 // source string.
84 try expect(cp.offset == 3); 84 try expect(cp.offset == 3);
85 try expectEqual(code_point.CodePoint, code_point.decodeAtIndex(str, cp.offset));
85 86
86 // The `len` field is the length in bytes of the 87 // The `len` field is the length in bytes of the
87 // code point in the source string. 88 // code point in the source string.