aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/common/http_downloader_mock.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/tests/common/http_downloader_mock.rs')
-rw-r--r--crates/shirabe/tests/common/http_downloader_mock.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/crates/shirabe/tests/common/http_downloader_mock.rs b/crates/shirabe/tests/common/http_downloader_mock.rs
index 7a021f9..85d3ec8 100644
--- a/crates/shirabe/tests/common/http_downloader_mock.rs
+++ b/crates/shirabe/tests/common/http_downloader_mock.rs
@@ -1,9 +1,6 @@
//! ref: composer/tests/Composer/Test/Mock/HttpDownloaderMock.php
#![allow(dead_code)]
-use std::cell::RefCell;
-use std::rc::Rc;
-
use indexmap::IndexMap;
use shirabe::config::Config;
use shirabe::io::IOInterface;
@@ -12,6 +9,8 @@ use shirabe::util::http_downloader::{
HttpDownloader, HttpDownloaderMockExpectation, HttpDownloaderMockHandler,
};
use shirabe_php_shim::PhpMixed;
+use std::cell::RefCell;
+use std::rc::Rc;
// A single HTTP request expectation as written in the PHP tests: a `url` plus an
// optional response (`status`/`body`/`headers`). `options` of `None` matches any