╭ changed ────────╮ │src/test/undo.zig│ ╰─────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │20 const initial = try Undo.init(opts, &arena, &repo, null, "", null, .{ .location = .{ .repo = "" } });│ │21 try std.testing.expectEqual(1, initial.count); │ │22 for (0..25) |index| { │ │23 - const value = try std.fmt.allocPrint(arena.allocator(), "{d}", .{index}); │ │23 + const value = try arena.allocator().print("{d}", .{index}); │ │24 try repo.addConfig(io, allocator, .{ .name = "undo.value", .value = value }); │ │25 } │ │26 const first = try Undo.init(opts, &arena, &repo, null, "", null, .{ .location = .{ .repo = "" } }); │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │61 defer arena.deinit(); │ │62 const aa = arena.allocator(); │ │63 const base = try temp.dir.realPathFileAlloc(io, ".", aa); │ │64 - const admin_path = try std.fs.path.join(aa, &.{ base, "admin" }); │ │65 - const users_dir = try std.fs.path.join(aa, &.{ base, "users" }); │ │64 + const admin_path = try std.Io.Dir.path.join(aa, &.{ base, "admin" }); │ │65 + const users_dir = try std.Io.Dir.path.join(aa, &.{ base, "users" }); │ │66 var admin = try xit.repo.Repo(.xit, evt.admin_repo_opts).init(io, allocator, .{ .path = admin_path }); │ │67 defer admin.deinit(io, allocator); │ │68 - const owner = [_]u8{1} ** evt.event_id_size; │ │69 - const writer = [_]u8{2} ** evt.event_id_size; │ │70 - const reader = [_]u8{3} ** evt.event_id_size; │ │71 - const repo_id = [_]u8{4} ** evt.event_id_size; │ │68 + const owner: [evt.event_id_size]u8 = @splat(1); │ │69 + const writer: [evt.event_id_size]u8 = @splat(2); │ │70 + const reader: [evt.event_id_size]u8 = @splat(3); │ │71 + const repo_id: [evt.event_id_size]u8 = @splat(4); │ │72 const author: evt.CommitAuthor = .{ .name = "test", .email = "test@example.test" }; │ │73 const writer_hex = std.fmt.bytesToHex(writer, .lower); │ │74 var repo_event: evt.Repo = .{ .user_id = &owner, .name = "demo", .description = "", .read_access = .public };│ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯