Skip to content

Commit c1dc318

Browse files
FranciscoTGouveiadjc
authored andcommitted
fix(tests): remove unnecessary clones
1 parent 40539ab commit c1dc318

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/badssl.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ async fn test_tls12_impl(vectored: bool) -> io::Result<()> {
5353
let config = Arc::new(config);
5454
let domain = "tls-v1-2.badssl.com";
5555

56-
let (_, output) = get(config.clone(), domain, 1012, vectored).await?;
56+
let (_, output) = get(config, domain, 1012, vectored).await?;
5757
assert!(
5858
output.contains("<title>tls-v1-2.badssl.com</title>"),
5959
"failed badssl test, output: {}",
@@ -89,7 +89,7 @@ async fn test_modern_impl(vectored: bool) -> io::Result<()> {
8989
let config = Arc::new(config);
9090
let domain = "mozilla-modern.badssl.com";
9191

92-
let (_, output) = get(config.clone(), domain, 443, vectored).await?;
92+
let (_, output) = get(config, domain, 443, vectored).await?;
9393
assert!(
9494
output.contains("<title>mozilla-modern.badssl.com</title>"),
9595
"failed badssl test, output: {}",

0 commit comments

Comments
 (0)