From 199b6f0271c200f6707089ac262d264ca906d720 Mon Sep 17 00:00:00 2001 From: simonsan <14062932+simonsan@users.noreply.github.com> Date: Sun, 31 Dec 2023 03:10:05 +0100 Subject: [PATCH] testing: use result Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com> --- tests/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/config.rs b/tests/config.rs index 9d9c1e84e..cfbf17657 100644 --- a/tests/config.rs +++ b/tests/config.rs @@ -9,7 +9,7 @@ use std::{fs, path::PathBuf}; #[rstest] fn test_parse_rustic_configs_is_ok(#[files("config/*.toml")] config_path: PathBuf) -> Result<()> { let toml_string = fs::read_to_string(config_path)?; - let _ = toml::from_str::(&toml_string); + let _ = toml::from_str::(&toml_string)?; Ok(()) }