diff options
| -rw-r--r-- | README.md | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -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. |