File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -95,8 +95,8 @@ pub const URL = struct {
9595 }
9696 // schema only is valid!
9797 break :blk std.Uri {
98- .scheme = raw .? [0.. raw .? .len - 3 ],
99- .host = .{.percent_encoded = "" },
98+ .scheme = raw .? [0 .. raw .? .len - 3 ],
99+ .host = .{ .percent_encoded = "" },
100100 };
101101 };
102102
@@ -571,10 +571,10 @@ test "Browser.URL" {
571571
572572 try runner .testCases (&.{
573573 .{ "let sk = new URL('sveltekit-internal://')" , null },
574- .{ "sk.protocol" , "sveltekit-internal:" },
575- .{ "sk.host" , "" },
576- .{ "sk.hostname" , "" },
577- .{ "sk.href" , "sveltekit-internal://" }
574+ .{ "sk.protocol" , "sveltekit-internal:" },
575+ .{ "sk.host" , "" },
576+ .{ "sk.hostname" , "" },
577+ .{ "sk.href" , "sveltekit-internal://" },
578578 }, .{});
579579}
580580
You can’t perform that action at this time.
0 commit comments