╭ changed ──────╮ │src/test/ui.zig│ ╰───────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │165 const focus = view.getFocus(); │ │166 try view.build(allocator, .{ .min_size = .{ .width = null, .height = null }, .max_size = .{ .width = 100, .height = 30 } }, focus);│ │167 const box = &view.scroll.child.box; │ │168 - try std.testing.expectEqual(first.hunks.len * 2 + 1, box.children.count()); │ │168 + // the added files show only their paths, which link to their content │ │169 + try std.testing.expectEqual(first.hunks.len + 1, box.children.count()); │ │170 const file = ui.crossPageLink(focus, box.children.keys()[0], session.data) orelse return error.MissingFileLink; │ │171 const next = ui.crossPageLink(focus, box.children.keys()[box.children.count() - 1], session.data) orelse return error.MissingLink; │ │172 if (data.route == .repo) { │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────╮ │172 - try std.testing.expectEqualStrings("file-00.txt", file.repo_diff.path.slice()); │ │173 - try std.testing.expectEqualStrings(&base, file.repo_diff.base_oid.slice()); │ │173 + try std.testing.expectEqualStrings("file-00.txt", file.repo_files.path.slice());│ │174 + try std.testing.expectEqualStrings(&head, file.repo_files.ref_value.slice()); │ │175 try std.testing.expectEqualStrings(&base, next.repo_diff.base_oid.slice()); │ │176 try std.testing.expectEqualStrings(&head, next.repo_diff.value.slice()); │ │177 try std.testing.expectEqual(Diff.page_size, next.repo_diff.start); │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────╮ │178 } else { │ │178 - try std.testing.expectEqualStrings("file-00.txt", file.fork_diff.path.slice()); │ │179 + try std.testing.expectEqualStrings("file-00.txt", file.fork_files.path.slice());│ │180 try std.testing.expectEqual(Diff.page_size, next.fork_diff.start); │ │181 } │ │182 } │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────╯