File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -537,7 +537,7 @@ fn test_origin_unicode_serialization() {
537
537
( "http://😅.com" , "http://😅.com" ) ,
538
538
( "ftp://😅:🙂@🙂.com" , "ftp://🙂.com" ) ,
539
539
( "https://user@😅.com" , "https://😅.com" ) ,
540
- ( "http://😅.🙂:40" , "http://😅.🙂:40" )
540
+ ( "http://😅.🙂:40" , "http://😅.🙂:40" ) ,
541
541
] ;
542
542
for & ( unicode_url, expected_serialization) in & data {
543
543
let origin = Url :: parse ( unicode_url) . unwrap ( ) . origin ( ) ;
@@ -560,7 +560,10 @@ fn test_origin_unicode_serialization() {
560
560
Url :: parse ( "http://127.0.0.1" ) . unwrap ( ) . origin ( ) ,
561
561
] ;
562
562
for ascii_origin in & ascii_origins {
563
- assert_eq ! ( ascii_origin. ascii_serialization( ) , ascii_origin. unicode_serialization( ) ) ;
563
+ assert_eq ! (
564
+ ascii_origin. ascii_serialization( ) ,
565
+ ascii_origin. unicode_serialization( )
566
+ ) ;
564
567
}
565
568
}
566
569
You can’t perform that action at this time.
0 commit comments