Skip to content

Commit 7b76631

Browse files
committed
style: format code
1 parent 3692fb1 commit 7b76631

2 files changed

Lines changed: 3 additions & 15 deletions

File tree

versatiles/tests/serve_config.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,7 @@ impl ConfigTestServer {
3232
fs::write(&config_path, config_content).unwrap();
3333

3434
let (host, child) = spawn_server(&["-c", config_path.to_str().unwrap()], "/").await;
35-
Self {
36-
host,
37-
child,
38-
temp_dir,
39-
}
35+
Self { host, child, temp_dir }
4036
}
4137

4238
fn shutdown(&mut self) {

versatiles/tests/serve_cors.rs

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,7 @@ cors:
5555
fs::write(&config_path, &config).unwrap();
5656

5757
let (host, child) = spawn_server(&["-c", config_path.to_str().unwrap()], "/tiles/index.json").await;
58-
Self {
59-
host,
60-
child,
61-
temp_dir,
62-
}
58+
Self { host, child, temp_dir }
6359
}
6460

6561
fn shutdown(&mut self) {
@@ -259,11 +255,7 @@ tiles:
259255
fs::write(&config_path, &config).unwrap();
260256

261257
let (host, child) = spawn_server(&["-c", config_path.to_str().unwrap()], "/tiles/index.json").await;
262-
Self {
263-
host,
264-
child,
265-
temp_dir,
266-
}
258+
Self { host, child, temp_dir }
267259
}
268260

269261
fn shutdown(&mut self) {

0 commit comments

Comments
 (0)