From ec7ed767b7809e8508146f3e9c4e808388b99056 Mon Sep 17 00:00:00 2001 From: KaranGauswami Date: Sat, 15 Jun 2024 21:56:58 +0530 Subject: [PATCH] refactor: added some tests --- tests/proxy.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/proxy.rs b/tests/proxy.rs index 96f4745..3b9f7e7 100644 --- a/tests/proxy.rs +++ b/tests/proxy.rs @@ -43,8 +43,7 @@ async fn simple_test() -> Result<()> { let client = reqwest::Client::builder() .proxy(reqwest::Proxy::http(format!( - "http://{}:{}", - addr.ip(), + "http://localhost:{}", addr.port() ))?) .build()?;