cleanup
This commit is contained in:
parent
dc497ae9b3
commit
f97e45b572
1 changed files with 3 additions and 4 deletions
|
@ -11,7 +11,6 @@ use std::path::Path;
|
|||
use tempfile::tempdir;
|
||||
use tempfile::TempDir;
|
||||
use bakare::backup::BackupEngine;
|
||||
use bakare::restore::RestoreDescriptor;
|
||||
use bakare::restore::RestoreDescriptor::SpecificPath;
|
||||
use bakare::restore::RestoreEngine;
|
||||
|
||||
|
@ -20,9 +19,9 @@ fn restore_backed_up_files() -> Result<(), Error> {
|
|||
let source = Source::new()?;
|
||||
let repository = tempdir()?;
|
||||
|
||||
source.write_text_to_file("first", "some contents");
|
||||
source.write_text_to_file("second", "some contents");
|
||||
source.write_text_to_file("third", "some other contents");
|
||||
source.write_text_to_file("first", "some contents")?;
|
||||
source.write_text_to_file("second", "some contents")?;
|
||||
source.write_text_to_file("third", "some other contents")?;
|
||||
|
||||
assert_same_after_restore(source.path(), repository.path())
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue