diff options
author | Sven-Hendrik Haase <svenstaro@gmail.com> | 2025-01-10 16:23:00 +0000 |
---|---|---|
committer | Sven-Hendrik Haase <svenstaro@gmail.com> | 2025-01-10 16:23:00 +0000 |
commit | 4dc634655edac54e9638e8390d89a96e235522c0 (patch) | |
tree | 15f8cc8bdb2046a70a5f7552964f1781dfced72c /tests/upload_files.rs | |
parent | Remove some unnecessary #[allow(dead_code)] (diff) | |
download | miniserve-4dc634655edac54e9638e8390d89a96e235522c0.tar.gz miniserve-4dc634655edac54e9638e8390d89a96e235522c0.zip |
Reorganize imports to be more consistent
Diffstat (limited to 'tests/upload_files.rs')
-rw-r--r-- | tests/upload_files.rs | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/upload_files.rs b/tests/upload_files.rs index 77a9dc3..72548e4 100644 --- a/tests/upload_files.rs +++ b/tests/upload_files.rs @@ -1,13 +1,15 @@ -mod fixtures; +use std::fs::create_dir_all; +use std::path::Path; use assert_fs::fixture::TempDir; -use fixtures::{server, server_no_stderr, tmpdir, Error, TestServer}; use reqwest::blocking::{multipart, Client}; use rstest::rstest; use select::document::Document; use select::predicate::{Attr, Text}; -use std::fs::create_dir_all; -use std::path::Path; + +mod fixtures; + +use crate::fixtures::{server, server_no_stderr, tmpdir, Error, TestServer}; #[rstest] fn uploading_files_works(#[with(&["-u"])] server: TestServer) -> Result<(), Error> { |