diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2025-12-01 14:31:32 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2025-12-01 15:22:38 +0000 |
| commit | d2ac69816567f092fe0d4661723bc43778cb481b (patch) | |
| tree | e8b51b61a6a7b0ab1a214adebe4e237143b01f0b /tests/git_clone.rs | |
| parent | 7a78815e29b01c83f3d0ec195ba717a2eba8cd37 (diff) | |
fix cargo clippy and fmt warnings
Diffstat (limited to 'tests/git_clone.rs')
| -rw-r--r-- | tests/git_clone.rs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/git_clone.rs b/tests/git_clone.rs index ffb04a3..c8a91a2 100644 --- a/tests/git_clone.rs +++ b/tests/git_clone.rs | |||
| @@ -42,11 +42,7 @@ macro_rules! isolated_test { | |||
| 42 | .await | 42 | .await |
| 43 | .expect("Failed to create audit client"); | 43 | .expect("Failed to create audit client"); |
| 44 | 44 | ||
| 45 | let result = GitCloneTests::$test_name( | 45 | let result = GitCloneTests::$test_name(&client, &relay.domain()).await; |
| 46 | &client, | ||
| 47 | &relay.domain(), | ||
| 48 | ) | ||
| 49 | .await; | ||
| 50 | 46 | ||
| 51 | relay.stop().await; | 47 | relay.stop().await; |
| 52 | 48 | ||
| @@ -63,4 +59,4 @@ macro_rules! isolated_test { | |||
| 63 | // Generate isolated tests for all git clone tests | 59 | // Generate isolated tests for all git clone tests |
| 64 | isolated_test!(test_basic_git_clone); | 60 | isolated_test!(test_basic_git_clone); |
| 65 | isolated_test!(test_clone_url_format); | 61 | isolated_test!(test_clone_url_format); |
| 66 | isolated_test!(test_sha1_capabilities_advertised); \ No newline at end of file | 62 | isolated_test!(test_sha1_capabilities_advertised); |