From 99e15dac10d2da08e5f18626ed959bde0137f17c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sat, 6 Feb 2021 16:40:32 +0000 Subject: [PATCH] remove unwrap --- tests/system_tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/system_tests.rs b/tests/system_tests.rs index 5f43ac5..ec74e07 100644 --- a/tests/system_tests.rs +++ b/tests/system_tests.rs @@ -19,7 +19,7 @@ mod must { #[test] fn restore_files_after_reopening_repository() -> Result<()> { - let source = TestSource::new().unwrap(); + let source = TestSource::new()?; let repository_path = random_in_memory_path("repository")?; let restore_target = random_in_memory_path("target")?;