╭ changed ──────╮ │src/test/ui.zig│ ╰───────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │147 try std.testing.expectEqual(0, (try Diff.init(kind, opts, &arena, &repo, io, allocator, unchanged.repo_diff)).window.hunks.len); │ │148 │ │149 // a zero base includes files that were already present in the first commit │ │150 - const zero = [_]u8{'0'} ** xit.hash.hexLen(opts.hash); │ │150 + const zero: [xit.hash.hexLen(opts.hash)]u8 = @splat('0'); │ │151 const created = ui.RoutablePage.repoDiffRoute("alice:project", .object, &head, 0, "shared.txt", &zero) orelse return error.BadRoute;│ │152 const created_diff = try Diff.init(kind, opts, &arena, &repo, io, allocator, created.repo_diff); │ │153 try std.testing.expectEqual(1, created_diff.window.hunks.len); │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────╮ │325 const temp_path = try temp.dir.realPathFileAlloc(io, ".", allocator); │ │326 defer allocator.free(temp_path); │ │327 │ │328 - const local_path = try std.fs.path.join(allocator, &.{ temp_path, "local" }); │ │328 + const local_path = try std.Io.Dir.path.join(allocator, &.{ temp_path, "local" }); │ │329 defer allocator.free(local_path); │ │330 - const remote_path = try std.fs.path.join(allocator, &.{ temp_path, "remote" }); │ │330 + const remote_path = try std.Io.Dir.path.join(allocator, &.{ temp_path, "remote" });│ │331 defer allocator.free(remote_path); │ │332 │ │333 const Repo = xit.repo.Repo(.git, .{}); │ ╰────────────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────╮ │350 _ = try local.commit(io, allocator, .{ .message = "master" }); │ │351 try local.addRemote(io, allocator, .{ .name = "origin", .value = remote_path }); │ │352 │ │353 - const id = [_]u8{1} ** evt.event_id_size; │ │353 + const id: [evt.event_id_size]u8 = @splat(1); │ │354 try evt.consume(.local, .repo, .git, .{}, io, allocator, &local, evt.events_ref, &.{.{│ │355 .id = std.fmt.bytesToHex(id, .lower), │ │356 .author = .{ .name = "haxy", .email = "user@haxy" }, │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────╮ │362 { │ │363 var local = try Repo.open(io, allocator, .{ .path = local_path }); │ │364 defer local.deinit(io, allocator); │ │365 - const id = [_]u8{2} ** evt.event_id_size; │ │365 + const id: [evt.event_id_size]u8 = @splat(2); │ │366 try evt.consume(.local, .repo, .git, .{}, io, allocator, &local, evt.events_ref, &.{.{│ │367 .id = std.fmt.bytesToHex(id, .lower), │ │368 .author = .{ .name = "haxy", .email = "user@haxy" }, │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────╮ │372 { │ │373 var remote = try RemoteRepo.open(io, allocator, .{ .path = remote_path }); │ │374 defer remote.deinit(io, allocator); │ │375 - const id = [_]u8{3} ** evt.event_id_size; │ │375 + const id: [evt.event_id_size]u8 = @splat(3); │ │376 try evt.consume(.local, .repo, .git, .{}, io, allocator, &remote, evt.events_ref, &.{.{│ │377 .id = std.fmt.bytesToHex(id, .lower), │ │378 .author = .{ .name = "haxy", .email = "user@haxy" }, │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────╯