about summary refs log tree commit diff
path: root/tvix/store/src/proto/tests
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-02-16T16·39+0100
committerflokli <flokli@flokli.de>2023-03-10T10·58+0000
commitbdf0725def6c72946c2fa86eefbba15c8b680b5f (patch)
tree2ffd69ecb464e025eb6c4df8dec4b3cee77dc473 /tvix/store/src/proto/tests
parent95aec51b2c04887a49c0954cae806d970c8a1b19 (diff)
refactor(tvix/store): remove anyhow::Result in directory it test r/5909
There's no `?` being used.

Change-Id: Ifbfd88f6056e0064d11458cb335d05b333ec7b6b
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8127
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/store/src/proto/tests')
-rw-r--r--tvix/store/src/proto/tests/directory_nodes_iterator.rs4
1 files changed, 1 insertions, 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(())
 }