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