╭──────────╮ │← previous│ ╰──────────╯ ╭ changed ─────────╮ │src/test/event.zig│ ╰──────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────╮ │561 // │ │562 │ │563 { │ │564 - try evt.consume(.xit, repo_opts, io, allocator, &repo, evt.events_ref); │ │564 + try evt.consume(.xit, repo_opts, io, allocator, &repo, evt.events_ref, &.{});│ │565 │ │566 const haxy_moment = try evt.currentMoment(repo_opts, &repo); │ │567 │ ╰──────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────╮ │661 _ = try std.fmt.hexToBytes(&issue_id, &events_to_consume[0].id); │ │662 │ │663 { │ │664 - try evt.consume(.xit, repo_opts, io, allocator, &repo, evt.events_ref); │ │664 + try evt.consume(.xit, repo_opts, io, allocator, &repo, evt.events_ref, &.{});│ │665 │ │666 // consuming the merge again must be a no-op rather than replaying it │ │667 - try evt.consume(.xit, repo_opts, io, allocator, &repo, evt.events_ref); │ │667 + try evt.consume(.xit, repo_opts, io, allocator, &repo, evt.events_ref, &.{});│ │668 │ │669 const haxy_moment = try evt.currentMoment(repo_opts, &repo); │ │670 │ ╰──────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────╮ │746 try std.testing.expect(.success == merge.result); │ │747 } │ │748 │ │749 - try evt.consume(.xit, repo_opts, io, allocator, &repo, evt.events_ref); │ │749 + try evt.consume(.xit, repo_opts, io, allocator, &repo, evt.events_ref, &.{});│ │750 │ │751 const haxy_moment = try evt.currentMoment(repo_opts, &repo); │ │752 │ ╰──────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────╮ │818 try std.testing.expect(.success == merge.result); │ │819 } │ │820 │ │821 - try evt.consume(.xit, repo_opts, io, allocator, &repo, evt.events_ref); │ │821 + try evt.consume(.xit, repo_opts, io, allocator, &repo, evt.events_ref, &.{});│ │822 │ │823 const haxy_moment = try evt.currentMoment(repo_opts, &repo); │ │824 │ ╰──────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────╮ │896 } │ │897 │ │898 { │ │899 - try evt.consume(.xit, repo_opts, io, allocator, &repo, evt.events_ref); │ │899 + try evt.consume(.xit, repo_opts, io, allocator, &repo, evt.events_ref, &.{});│ │900 │ │901 const haxy_moment = try evt.currentMoment(repo_opts, &repo); │ │902 │ ╰──────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────╮ │981 try std.testing.expect(.success == merge.result); │ │982 } │ │983 │ │984 - try evt.consume(.xit, repo_opts, io, allocator, &repo, evt.events_ref); │ │984 + try evt.consume(.xit, repo_opts, io, allocator, &repo, evt.events_ref, &.{});│ │985 │ │986 const haxy_moment = try evt.currentMoment(repo_opts, &repo); │ │987 │ ╰──────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │1116 }; │ │1117 │ │1118 // commit and consume the seed events │ │1119 - try evt.commitAndConsume(.xit, repo_opts, io, allocator, &repo, evt.events_ref, &events_to_consume);│ │1119 + try evt.consume(.xit, repo_opts, io, allocator, &repo, evt.events_ref, &events_to_consume); │ │1120 │ │1121 { │ │1122 const haxy_moment = try evt.currentMoment(repo_opts, &repo); │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │1171 }; │ │1172 │ │1173 // commit and consume the removal │ │1174 - try evt.commitAndConsume(.xit, repo_opts, io, allocator, &repo, evt.events_ref, &events_to_consume2);│ │1174 + try evt.consume(.xit, repo_opts, io, allocator, &repo, evt.events_ref, &events_to_consume2); │ │1175 │ │1176 { │ │1177 const haxy_moment = try evt.currentMoment(repo_opts, &repo); │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │1205 }; │ │1206 │ │1207 // commit and consume the removal │ │1208 - try evt.commitAndConsume(.xit, repo_opts, io, allocator, &repo, evt.events_ref, &events_to_consume3);│ │1208 + try evt.consume(.xit, repo_opts, io, allocator, &repo, evt.events_ref, &events_to_consume3); │ │1209 │ │1210 { │ │1211 const haxy_moment = try evt.currentMoment(repo_opts, &repo); │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │1284 .{ .id = std.fmt.bytesToHex(repo_ids[2], .lower), .timestamp = 103, .event = .{ .repo = .{ .user_id = &user_id, .name = "repo2", .description = "d2" } } },│ │1285 .{ .id = std.fmt.bytesToHex(repo_ids[3], .lower), .timestamp = 104, .event = .{ .repo = .{ .user_id = &user_id, .name = "repo3", .description = "d3" } } },│ │1286 }; │ │1287 - try evt.commitAndConsume(.xit, repo_opts, io, allocator, &repo, evt.events_ref, &events); │ │1287 + try evt.consume(.xit, repo_opts, io, allocator, &repo, evt.events_ref, &events); │ │1288 │ │1289 { │ │1290 const moment = try evt.currentMoment(repo_opts, &repo); │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────╮ │next →│ ╰──────╯