From 22f4f313f1cbdaadafcc3dd471f5a0bb4f7034e1 Mon Sep 17 00:00:00 2001 From: nkitsaini Date: Mon, 21 Aug 2023 00:41:32 +0530 Subject: Remove unnecessary `Err` from `get_canonicalized_path` (#8009) Co-authored-by: Michael Davis --- helix-term/tests/test/picker.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helix-term/tests/test') diff --git a/helix-term/tests/test/picker.rs b/helix-term/tests/test/picker.rs index f6d1aa25..89e6531f 100644 --- a/helix-term/tests/test/picker.rs +++ b/helix-term/tests/test/picker.rs @@ -30,7 +30,7 @@ async fn test_picker_alt_ret() -> anyhow::Result<()> { ]; let paths = files .iter() - .map(|f| get_canonicalized_path(f.path()).unwrap()) + .map(|f| get_canonicalized_path(f.path())) .collect::>(); fs::write(&paths[0], "1\n2\n3\n4")?; -- cgit v1.2.3-70-g09d2