tests: make potential failures in urllib_test.v more informative

master
Delyan Angelov 2022-05-20 08:49:51 +03:00
parent 120f31b4d9
commit ca00b59b3f
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
1 changed files with 2 additions and 1 deletions

View File

@ -114,8 +114,9 @@ fn test_parse() ? {
]
for url in urls {
_ := urllib.parse(url) or {
eprintln(err)
assert false
panic('FAILED parsing url')
return
}
}
}