From 1dd19a26d35d14567b139b7e46ca5570be75975a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sat, 12 Jan 2019 14:47:42 +0000 Subject: [PATCH] cleanup --- tests/system_tests.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/system_tests.rs b/tests/system_tests.rs index 152ba6d..faf13cf 100644 --- a/tests/system_tests.rs +++ b/tests/system_tests.rs @@ -45,8 +45,7 @@ fn restore_older_version_of_file() -> Result<(), BakareError> { restore_engine.restore_as_of_version(file_id, old_version)?; - assert_target_file_contents(restore_target.path(), file_path, old_contents)?; - Ok(()) + assert_target_file_contents(restore_target.path(), file_path, old_contents) } fn assert_target_file_contents(target: &Path, filename: &str, expected_contents: &str) -> Result<(), BakareError> {