File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ async fn test_openssl_uri() {
109
109
} ) ;
110
110
111
111
let connector = Connector :: default ( ) . service ( ) ;
112
- let addr = http :: Uri :: try_from ( format ! ( "https://localhost:{}" , srv. port( ) ) ) . unwrap ( ) ;
112
+ let addr = http_0_2 :: Uri :: try_from ( format ! ( "https://localhost:{}" , srv. port( ) ) ) . unwrap ( ) ;
113
113
let con = connector. call ( addr. into ( ) ) . await . unwrap ( ) ;
114
114
assert_eq ! ( con. peer_addr( ) . unwrap( ) , srv. addr( ) ) ;
115
115
}
@@ -145,7 +145,7 @@ async fn test_rustls_uri() {
145
145
} ) ;
146
146
147
147
let conn = Connector :: default ( ) . service ( ) ;
148
- let addr = http :: Uri :: try_from ( format ! ( "https://localhost:{}" , srv. port( ) ) ) . unwrap ( ) ;
148
+ let addr = http_1 :: Uri :: try_from ( format ! ( "https://localhost:{}" , srv. port( ) ) ) . unwrap ( ) ;
149
149
let con = conn. call ( addr. into ( ) ) . await . unwrap ( ) ;
150
150
assert_eq ! ( con. peer_addr( ) . unwrap( ) , srv. addr( ) ) ;
151
151
}
You can’t perform that action at this time.
0 commit comments