╭ changed ──────╮ │src/test/ui.zig│ ╰───────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────╮ │25 }; │ │26 │ │27 var session = ui.Session{ .arena = &arena, .page_arena = &arena, .is_terminal = true }; │ │28 - session.data.current_page = ui.RoutablePage.repoCommitsRoute(identity, .object, oid0, 0).?; │ │28 + session.data.current_page = ui.RoutablePage.repoCommitsRoute(identity, .object, oid0, 0, "").?;│ │29 │ │30 var view = try Commits.View.init(allocator, &data, &session); │ │31 defer view.deinit(allocator); │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────╮ │56 const RP = ui.RoutablePage; │ │57 │ │58 // the route layer holds the value already url-encoded ("feature%2Ffoo"). │ │59 - const route = RP.repoCommitsRoute("alice/ziglings", .branch, "feature%2Ffoo", 0).?; │ │59 + const route = RP.repoCommitsRoute("alice/ziglings", .branch, "feature%2Ffoo", 0, "").?; │ │60 const url = try route.toUrl(&arena); │ │61 try std.testing.expectEqualStrings("/repo/alice/ziglings/commits/branch:feature%2Ffoo", url);│ │62 │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────╮ │68 try std.testing.expectEqualStrings("feature%2Ffoo", parsed_route.value.slice());│ │69 } │ │70 │ │71 + │ ╰────────────────────────────────────────────────────────────────────────────────────────╯