File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -15,19 +15,6 @@ use url::{quirks, Url};
15
15
16
16
#[ test]
17
17
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
-
31
18
// Copied from https://github.com/web-platform-tests/wpt/blob/master/url/
32
19
let mut json = Value :: from_str ( include_str ! ( "urltestdata.json" ) )
33
20
. expect ( "JSON parse error in urltestdata.json" ) ;
@@ -45,12 +32,6 @@ fn urltestdata() {
45
32
let input = entry. take_string ( "input" ) ;
46
33
let failure = entry. take_key ( "failure" ) . is_some ( ) ;
47
34
48
- {
49
- if idna_skip_inputs. contains ( & input. as_str ( ) ) {
50
- continue ;
51
- }
52
- }
53
-
54
35
let res = if let Some ( base) = maybe_base {
55
36
let base = match Url :: parse ( & base) {
56
37
Ok ( base) => base,
You can’t perform that action at this time.
0 commit comments