╭ changed ─────────╮ │src/test/event.zig│ ╰──────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭──────────╮ │← previous│ ╰──────────╯ ╭───────────────────────────────────────────────────────────────────────────────╮ │544 var json: std.Io.Writer.Allocating = .init(std.testing.allocator);│ │545 defer json.deinit(); │ │546 │ │489 - for (other_events_to_consume, 0..) |event, i| { │ │547 + for (events_to_consume2, 0..) |event, i| { │ │548 json.clearRetainingCapacity(); │ │549 │ │550 try std.json.Stringify.value(event, .{}, &json.writer); │ ╰───────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │625 { │ │626 // get the issue out of the map │ │627 var first_issue_id: [evt.event_id_size]u8 = undefined; │ │570 - _ = try std.fmt.hexToBytes(&first_issue_id, &other_events_to_consume[0].id); │ │628 + _ = try std.fmt.hexToBytes(&first_issue_id, &events_to_consume2[0].id); │ │629 const first_issue_cursor = try event_id_to_issue.getCursor(hash.hashInt(repo_opts.hash, &first_issue_id)) orelse return error.NotFound;│ │630 const first_issue_map = try Repo.DB.HashMap(.read_only).init(first_issue_cursor); │ │631 const first_issue = try evt.EventData.read(Repo.DB, repo_opts.hash, arena.allocator(), first_issue_map, .issue); │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │632 │ │575 - try std.testing.expectEqualStrings(other_events_to_consume[0].data.issue.description, first_issue.issue.description);│ │576 - try std.testing.expectEqualStrings(other_events_to_consume[0].data.issue.tags, first_issue.issue.tags); │ │633 + try std.testing.expectEqualStrings(events_to_consume2[0].data.issue.description, first_issue.issue.description); │ │634 + try std.testing.expectEqualStrings(events_to_consume2[0].data.issue.tags, first_issue.issue.tags); │ │635 } │ │636 } │ │637 } │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯