File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ license = "MIT"
9
9
10
10
[dependencies ]
11
11
derive_more = " 0.99.16"
12
- url = " 2.2 .2"
13
- regex = " 1.4.3 "
12
+ url = " 2.5 .2"
13
+ regex = " 1.10.5 "
14
14
serde = { version = " 1.0.127" , features = [" derive" ] }
15
15
unic-ucd-ident = { version = " 0.9.0" , features = [" id" ] }
16
16
Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ fn is_absolute_pathname(
202
202
/// // Match the pattern against a URL.
203
203
/// let url = "https://example.com/users/123".parse().unwrap();
204
204
/// let result = pattern.exec(UrlPatternMatchInput::Url(url)).unwrap().unwrap();
205
- /// assert_eq!(result.pathname.groups.get("id").unwrap(), "123");
205
+ /// assert_eq!(result.pathname.groups.get("id").unwrap().as_ref().unwrap() , "123");
206
206
///# }
207
207
/// ```
208
208
#[ derive( Debug ) ]
Original file line number Diff line number Diff line change 2425
2425
"expected_obj" : " error"
2426
2426
},
2427
2427
{
2428
- "skip" : " bug in rust-url: https://github.com/servo/rust-url/pull/718" ,
2429
2428
"pattern" : [{ "hostname" : " bad|hostname" }],
2430
2429
"expected_obj" : " error"
2431
2430
},
2627
2626
}
2628
2627
},
2629
2628
{
2629
+ "skip" : " only works in ecmascript variety of regex" ,
2630
2630
"pattern" : [{ "pathname" : " *{}**?" }],
2631
2631
"inputs" : [{ "pathname" : " foobar" }],
2632
2632
"expected_obj" : {
You can’t perform that action at this time.
0 commit comments