add an invalid url test

* this test should not pass; it's related to implementation of `std.Uri` though.
This commit is contained in:
nikneym
2025-10-01 12:30:54 +03:00
committed by Halil Durak
parent 26c2b258b4
commit 9b4ea7a040

View File

@@ -76,3 +76,8 @@
testing.expectEqual("", sk.hostname);
testing.expectEqual("sveltekit-internal://", sk.href);
</script>
<script id=invalidUrl>
let u = new URL("://foo.bar/path?query#fragment");
testing.expectEqual(":", u.protocol);
</script>