╭──────────╮ │← previous│ ╰──────────╯ ╭ changed ─────────╮ │src/test/event.zig│ ╰──────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────╮ │167 const events_to_consume2 = [_]evt.Event{ │ │168 .{ │ │169 .id = std.fmt.bytesToHex(evt.randomId(prng.random()), .lower), │ │170 + .kind = .issue, │ │171 .data = .{ │ │172 .issue = .{ │ │173 .title = "Double clicking causes the form to submit twice",│ ╰────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │291 const first_issue = try evt.EventData.read(Repo.DB, repo_opts.hash, arena.allocator(), first_issue_map, .issue); │ │292 │ │293 // the description is no longer edited │ │289 - try std.testing.expectEqualStrings(events_to_consume[0].data.issue.?.description, first_issue.issue.?.description); │ │294 + try std.testing.expectEqualStrings(events_to_consume[0].data.?.issue.description, first_issue.issue.description); │ │295 │ │296 // the tags are no longer edited │ │292 - try std.testing.expectEqualStrings(events_to_consume[0].data.issue.?.tags, first_issue.issue.?.tags); │ │297 + try std.testing.expectEqualStrings(events_to_consume[0].data.?.issue.tags, first_issue.issue.tags); │ │298 │ │299 // an event added by the second push is no longer there because it was wiped out by the rebase │ │300 try std.testing.expect(null == try event_id_to_issue.getCursor(hash.hashInt(repo_opts.hash, &events_to_consume2[0].id)));│ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────╮ │408 const events_to_consume = [_]evt.Event{ │ │409 .{ │ │410 .id = std.fmt.bytesToHex(evt.randomId(prng.random()), .lower), │ │411 + .kind = .issue, │ │412 .data = .{ │ │413 .issue = .{ │ │414 .title = "Login form clears password on validation error",│ ╰───────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────╮ │419 }, │ │420 .{ │ │421 .id = std.fmt.bytesToHex(evt.randomId(prng.random()), .lower), │ │422 + .kind = .issue, │ │423 .data = .{ │ │424 .issue = .{ │ │425 .title = "Search results ignore archived project filter",│ ╰──────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────╮ │430 }, │ │431 .{ │ │432 .id = std.fmt.bytesToHex(evt.randomId(prng.random()), .lower), │ │433 + .kind = .issue, │ │434 .data = .{ │ │435 .issue = .{ │ │436 .title = "Issue list does not persist selected sort order",│ ╰────────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │504 const first_issue_map = try Repo.DB.HashMap(.read_only).init(first_issue_cursor); │ │505 const first_issue = try evt.EventData.read(Repo.DB, repo_opts.hash, arena.allocator(), first_issue_map, .issue); │ │506 │ │499 - try std.testing.expectEqualStrings(events_to_consume[0].data.issue.?.description, first_issue.issue.?.description);│ │500 - try std.testing.expectEqualStrings(events_to_consume[0].data.issue.?.tags, first_issue.issue.?.tags); │ │507 + try std.testing.expectEqualStrings(events_to_consume[0].data.?.issue.description, first_issue.issue.description); │ │508 + try std.testing.expectEqualStrings(events_to_consume[0].data.?.issue.tags, first_issue.issue.tags); │ │509 } │ │510 │ │511 // │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────╮ │515 const events_to_consume2 = [_]evt.Event{ │ │516 .{ │ │517 .id = std.fmt.bytesToHex(evt.randomId(prng.random()), .lower), │ │518 + .kind = .issue, │ │519 .data = .{ │ │520 .issue = .{ │ │521 .title = "Kanban card status badge falls behind after drag",│ ╰─────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────╮ │526 }, │ │527 .{ │ │528 .id = std.fmt.bytesToHex(evt.randomId(prng.random()), .lower), │ │529 + .kind = .issue, │ │530 .data = .{ │ │531 .issue = .{ │ │532 .title = "Assignee autocomplete omits recently invited users",│ ╰───────────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────╮ │537 }, │ │538 .{ │ │539 .id = std.fmt.bytesToHex(evt.randomId(prng.random()), .lower), │ │540 + .kind = .issue, │ │541 .data = .{ │ │542 .issue = .{ │ │543 .title = "Add due date warning for issues blocked by dependencies",│ ╰────────────────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │631 const first_issue_map = try Repo.DB.HashMap(.read_only).init(first_issue_cursor); │ │632 const first_issue = try evt.EventData.read(Repo.DB, repo_opts.hash, arena.allocator(), first_issue_map, .issue); │ │633 │ │623 - try std.testing.expectEqualStrings(events_to_consume[0].data.issue.?.description, first_issue.issue.?.description);│ │624 - try std.testing.expectEqualStrings(events_to_consume[0].data.issue.?.tags, first_issue.issue.?.tags); │ │634 + try std.testing.expectEqualStrings(events_to_consume[0].data.?.issue.description, first_issue.issue.description); │ │635 + try std.testing.expectEqualStrings(events_to_consume[0].data.?.issue.tags, first_issue.issue.tags); │ │636 } │ │637 │ │638 // make sure one of the new issues is there │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────╮ │next →│ ╰──────╯