From bdf0725def6c72946c2fa86eefbba15c8b680b5f Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Thu, 16 Feb 2023 17:39:42 +0100 Subject: refactor(tvix/store): remove anyhow::Result in directory it test There's no `?` being used. Change-Id: Ifbfd88f6056e0064d11458cb335d05b333ec7b6b Reviewed-on: https://cl.tvl.fyi/c/depot/+/8127 Reviewed-by: raitobezarius Reviewed-by: tazjin Tested-by: BuildkiteCI --- tvix/store/src/proto/tests/directory_nodes_iterator.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tvix/store/src/proto/tests/directory_nodes_iterator.rs b/tvix/store/src/proto/tests/directory_nodes_iterator.rs index 8f591f0560ce..9a283f72bd45 100644 --- a/tvix/store/src/proto/tests/directory_nodes_iterator.rs +++ b/tvix/store/src/proto/tests/directory_nodes_iterator.rs @@ -5,7 +5,7 @@ use crate::proto::FileNode; use crate::proto::SymlinkNode; #[test] -fn iterator() -> anyhow::Result<()> { +fn iterator() { let d = Directory { directories: vec![ DirectoryNode { @@ -77,6 +77,4 @@ fn iterator() -> anyhow::Result<()> { vec!["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l"], node_names ); - - Ok(()) } -- cgit 1.4.1