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() {
537537 ( "http://😅.com" , "http://😅.com" ) ,
538538 ( "ftp://😅:🙂@🙂.com" , "ftp://🙂.com" ) ,
539539 ( "https://user@😅.com" , "https://😅.com" ) ,
540- ( "http://😅.🙂:40" , "http://😅.🙂:40" )
540+ ( "http://😅.🙂:40" , "http://😅.🙂:40" ) ,
541541 ] ;
542542 for & ( unicode_url, expected_serialization) in & data {
543543 let origin = Url :: parse ( unicode_url) . unwrap ( ) . origin ( ) ;
@@ -560,7 +560,10 @@ fn test_origin_unicode_serialization() {
560560 Url :: parse ( "http://127.0.0.1" ) . unwrap ( ) . origin ( ) ,
561561 ] ;
562562 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+ ) ;
564567 }
565568}
566569
You can’t perform that action at this time.
0 commit comments