╭─────────────╮ │scroll to top│ ╰─────────────╯ ╭ undo.zig ─────────────────────────────────────────────────────╮ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ╰───────────────────────────────────────────────────────────────╯
╭────╮ ╭ clone ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╮ │http│ ssh │ │ ╰────╯ ╰ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╯
221 222 var root = ui.Widget{ .repo_undo = try Undo.View.init(allocator, &undo.undo.?, &session) }; 223 defer root.deinit(allocator); 224 try root.build(allocator, constraint, root.getFocus()); 225 const html = try @import("../web.zig").generateHtml(allocator, &root, &session); 226 defer allocator.free(html); 227 try std.testing.expect(std.mem.indexOf(u8, html, "InvalidUndoRecord") != null); 228 } 229