Skip to content

Commit c1400af

Browse files
committed
Organizes use statements in test
Reorders import statements within a middleware test for better consistency and readability.
1 parent 214b036 commit c1400af

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

crates/catalog/rest/src/catalog.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2809,11 +2809,12 @@ mod tests {
28092809
#[cfg(feature = "middleware")]
28102810
#[tokio::test]
28112811
async fn test_middleware_intercepts_requests() {
2812+
use std::sync::Arc;
2813+
use std::sync::atomic::{AtomicUsize, Ordering};
2814+
28122815
use mockito::Matcher;
28132816
use reqwest::Client;
28142817
use reqwest_middleware::{ClientBuilder, Middleware, Next};
2815-
use std::sync::atomic::{AtomicUsize, Ordering};
2816-
use std::sync::Arc;
28172818

28182819
// Custom middleware that counts requests
28192820
#[derive(Clone)]

0 commit comments

Comments
 (0)