Skip to content

Commit 93fc700

Browse files
committed
unicode WPT tests now pass. No need to skip them
1 parent b65a455 commit 93fc700

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

url/tests/data.rs

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,6 @@ use url::{quirks, Url};
1515

1616
#[test]
1717
fn urltestdata() {
18-
let idna_skip_inputs = [
19-
"http://www.foo。bar.com",
20-
"http://Go.com",
21-
"http://你好你好",
22-
"https://faß.ExAmPlE/",
23-
"http://0Xc0.0250.01",
24-
"ftp://%e2%98%83",
25-
"https://%e2%98%83",
26-
"file://a\u{ad}b/p",
27-
"file://a%C2%ADb/p",
28-
"http://GOO\u{200b}\u{2060}\u{feff}goo.com",
29-
];
30-
3118
// Copied from https://github.com/web-platform-tests/wpt/blob/master/url/
3219
let mut json = Value::from_str(include_str!("urltestdata.json"))
3320
.expect("JSON parse error in urltestdata.json");
@@ -45,12 +32,6 @@ fn urltestdata() {
4532
let input = entry.take_string("input");
4633
let failure = entry.take_key("failure").is_some();
4734

48-
{
49-
if idna_skip_inputs.contains(&input.as_str()) {
50-
continue;
51-
}
52-
}
53-
5435
let res = if let Some(base) = maybe_base {
5536
let base = match Url::parse(&base) {
5637
Ok(base) => base,

0 commit comments

Comments
 (0)