1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 06:28:13 +00:00

LibWeb/Tests: Also include URL hash in test results

None of the existing tests contain a URL which has a fragment in them,
but this does verify that the URL parser does not actually find any!
Also, this should let us verify the correctness of URLs which actually
do contain fragments.
This commit is contained in:
Shannon Booth 2023-08-14 16:11:13 +12:00 committed by Andrew Kaster
parent e233de1e48
commit 4eab37f391
2 changed files with 6 additions and 0 deletions

View file

@ -12,6 +12,7 @@
println(`port => '${url.port}'`);
println(`pathname => '${url.pathname}'`);
println(`search => '${url.search}'`);
println(`hash => '${url.hash}'`);
}
for (url of [