cleanup
This commit is contained in:
parent
4e76d046d1
commit
1dd19a26d3
1 changed files with 1 additions and 2 deletions
|
@ -45,8 +45,7 @@ fn restore_older_version_of_file() -> Result<(), BakareError> {
|
||||||
|
|
||||||
restore_engine.restore_as_of_version(file_id, old_version)?;
|
restore_engine.restore_as_of_version(file_id, old_version)?;
|
||||||
|
|
||||||
assert_target_file_contents(restore_target.path(), file_path, old_contents)?;
|
assert_target_file_contents(restore_target.path(), file_path, old_contents)
|
||||||
Ok(())
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fn assert_target_file_contents(target: &Path, filename: &str, expected_contents: &str) -> Result<(), BakareError> {
|
fn assert_target_file_contents(target: &Path, filename: &str, expected_contents: &str) -> Result<(), BakareError> {
|
||||||
|
|
Loading…
Reference in a new issue