aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorSven-Hendrik Haase <svenstaro@gmail.com>2021-02-28 00:53:30 +0000
committerSven-Hendrik Haase <svenstaro@gmail.com>2021-02-28 00:53:33 +0000
commit58bc2df0cf71f9578ae04399533f4f1ec7082472 (patch)
tree73f9a335c0075e3c68165887c4c79d53ae75da6a /tests
parentBump deps (diff)
downloadminiserve-58bc2df0cf71f9578ae04399533f4f1ec7082472.tar.gz
miniserve-58bc2df0cf71f9578ae04399533f4f1ec7082472.zip
Fix format
Diffstat (limited to 'tests')
-rw-r--r--tests/header.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/header.rs b/tests/header.rs
index 774e5ef..e46044c 100644
--- a/tests/header.rs
+++ b/tests/header.rs
@@ -18,7 +18,8 @@ fn custom_header_set(tmpdir: TempDir, port: u16, headers: Vec<String>) -> Result
.arg("-p")
.arg(port.to_string())
.args(headers.iter().flat_map(|h| vec!["--header", h]))
- .stdout(Stdio::null()).spawn()?;
+ .stdout(Stdio::null())
+ .spawn()?;
sleep(Duration::from_secs(1));