╭ changed ─────────╮ │src/test/event.zig│ ╰──────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭──────────╮ │← previous│ ╰──────────╯ ╭─────────────────────────────────────────────────────────────────╮ │851 }, │ │852 .{ │ │853 .id = std.fmt.bytesToHex(repo_event_id, .lower),│ │869 - .kind = .repo, │ │854 .data = .{ │ │855 .repo = .{ │ │856 .user_id = &user_event_id, │ ╰─────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │918 const user = try evt.EventData.read(Repo.DB, repo_opts.hash, arena.allocator(), user_map, .user); │ │919 │ │920 // the password was correctly edited │ │937 - try std.testing.expectEqualStrings(events_to_consume[1].data.?.user.password_hash, user.user.password_hash); │ │921 + try std.testing.expectEqualStrings(events_to_consume[1].data.user.?.password_hash, user.user.password_hash); │ │922 │ │923 // get the map of repos │ │924 const event_id_to_repo_cursor = try haxy_moment.getCursor(hash.hashInt(repo_opts.hash, "event-id->repo")) orelse return error.NotFound;│ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────╮ │951 const events_to_consume2 = [_]evt.Event{ │ │952 .{ │ │953 .id = std.fmt.bytesToHex(repo_event_id, .lower),│ │970 - .kind = .repo, │ │971 - .data = null, │ │954 + .data = .{ .repo = null }, │ │955 }, │ │956 }; │ │957 │ ╰─────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────╮ │1022 const events_to_consume3 = [_]evt.Event{ │ │1023 .{ │ │1024 .id = std.fmt.bytesToHex(user_event_id, .lower),│ │1042 - .kind = .user, │ │1043 - .data = null, │ │1025 + .data = .{ .user = null }, │ │1026 }, │ │1027 }; │ │1028 │ ╰──────────────────────────────────────────────────────────────────╯