summaryrefslogtreecommitdiff
path: root/src/grapheme.zig
diff options
context:
space:
mode:
authorGravatar Sam Atman2025-04-29 15:32:58 -0400
committerGravatar Sam Atman2025-04-29 15:32:58 -0400
commit35f18e584fae890f686eafcdc12a2fde6281206d (patch)
tree4006551bfb221e80fb6c9173383ce48f308c4512 /src/grapheme.zig
parentAdd result.toOwned() to Normalize.zig (diff)
downloadzg-35f18e584fae890f686eafcdc12a2fde6281206d.tar.gz
zg-35f18e584fae890f686eafcdc12a2fde6281206d.tar.xz
zg-35f18e584fae890f686eafcdc12a2fde6281206d.zip
Add general tests step
After a considerable slog, all tests are reachable from the test step, and pass. Almost every failure was related to the change away from the inclusion of an allocator on this or that.
Diffstat (limited to 'src/grapheme.zig')
-rw-r--r--src/grapheme.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/grapheme.zig b/src/grapheme.zig
index a802df8..25fd71d 100644
--- a/src/grapheme.zig
+++ b/src/grapheme.zig
@@ -307,7 +307,7 @@ test "Segmentation ZWJ and ZWSP emoji sequences" {
307 const no_joiner = seq_1 ++ seq_2; 307 const no_joiner = seq_1 ++ seq_2;
308 308
309 const data = try GraphemeData.init(std.testing.allocator); 309 const data = try GraphemeData.init(std.testing.allocator);
310 defer data.deinit(); 310 defer data.deinit(std.testing.allocator);
311 311
312 { 312 {
313 var iter = Iterator.init(with_zwj, &data); 313 var iter = Iterator.init(with_zwj, &data);