Browse Source

Fix formatting (`cargo fmt`)

feature_database
Anton Tarasenko 4 years ago
parent
commit
2bffa412ea
  1. 8
      src/database/tests.rs

8
src/database/tests.rs

@ -28,7 +28,13 @@ fn prepare_db_copy(copy_id: &str, clear_moved: bool) -> (String, TestCleanup) {
original_db original_db
.write_copy(path::Path::new(&path)) .write_copy(path::Path::new(&path))
.expect("Should be able to create a new copy of the fixture database."); .expect("Should be able to create a new copy of the fixture database.");
(path.clone(), TestCleanup { path: path.to_owned(), clear_moved: clear_moved }) (
path.clone(),
TestCleanup {
path: path.to_owned(),
clear_moved: clear_moved,
},
)
} }
#[test] #[test]

Loading…
Cancel
Save