File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -1526,7 +1526,8 @@ mod tests {
15261526 . with_region ( "region" )
15271527 . with_bucket_name ( "bucket_name" )
15281528 . with_allow_http ( true )
1529- . with_proxy_url ( "asdf://example.com" )
1529+ // use invalid url
1530+ . with_proxy_url ( "dxx:ddd\\ example.com" )
15301531 . build ( )
15311532 . unwrap_err ( )
15321533 . to_string ( ) ;
Original file line number Diff line number Diff line change @@ -622,7 +622,7 @@ mod tests {
622622 assert_eq ! ( r. status( ) , StatusCode :: OK ) ;
623623
624624 // Handles redirect loop
625- for _ in 0 ..10 {
625+ for _ in 0 ..11 {
626626 mock. push (
627627 Response :: builder ( )
628628 . status ( StatusCode :: FOUND )
Original file line number Diff line number Diff line change @@ -674,7 +674,8 @@ mod tests {
674674 let err = GoogleCloudStorageBuilder :: new ( )
675675 . with_service_account_path ( service_account_path. to_str ( ) . unwrap ( ) )
676676 . with_bucket_name ( "foo" )
677- . with_proxy_url ( "asdf://example.com" )
677+ // use invalid url
678+ . with_proxy_url ( "dxx:ddd\\ example.com" )
678679 . build ( )
679680 . unwrap_err ( )
680681 . to_string ( ) ;
You can’t perform that action at this time.
0 commit comments