diff options
| author | 2025-06-24 08:00:03 -0400 | |
|---|---|---|
| committer | 2025-06-24 08:00:03 -0400 | |
| commit | 6ec7bae5e541f6f471cd3ca5801f2a976553573f (patch) | |
| tree | 472edb4fce009018312dab0463bc822bc3ea57f5 | |
| parent | Add Emoji module and codegen/emoji (diff) | |
| download | zg-6ec7bae5e541f6f471cd3ca5801f2a976553573f.tar.gz zg-6ec7bae5e541f6f471cd3ca5801f2a976553573f.tar.xz zg-6ec7bae5e541f6f471cd3ca5801f2a976553573f.zip | |
fix infinity
| -rw-r--r-- | src/Emoji.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Emoji.zig b/src/Emoji.zig index bf7014d..75b44c2 100644 --- a/src/Emoji.zig +++ b/src/Emoji.zig | |||
| @@ -96,7 +96,7 @@ test "isEmojiPresentation" { | |||
| 96 | defer emoji.deinit(std.testing.allocator); | 96 | defer emoji.deinit(std.testing.allocator); |
| 97 | 97 | ||
| 98 | try std.testing.expect(emoji.isEmojiPresentation(0x1F408)); // 🐈 | 98 | try std.testing.expect(emoji.isEmojiPresentation(0x1F408)); // 🐈 |
| 99 | try std.testing.expect(!emoji.isEmojiPresentation(0x267E)); // ♾️ | 99 | try std.testing.expect(!emoji.isEmojiPresentation(0x267E)); // ♾ |
| 100 | } | 100 | } |
| 101 | 101 | ||
| 102 | test "isEmojiModifier" { | 102 | test "isEmojiModifier" { |