[WIP] feature_database #8
@ -28,7 +28,13 @@ fn prepare_db_copy(copy_id: &str, clear_moved: bool) -> (String, TestCleanup) {
|
||||
original_db
|
||||
.write_copy(path::Path::new(&path))
|
||||
.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]
|
||||
|
Loading…
Reference in New Issue
Block a user