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 <tvl@lahfa.xyz>
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
This commit is contained in:
Florian Klink 2023-02-16 17:39:42 +01:00 committed by flokli
parent 95aec51b2c
commit bdf0725def

View file

@ -5,7 +5,7 @@ use crate::proto::FileNode;
use crate::proto::SymlinkNode; use crate::proto::SymlinkNode;
#[test] #[test]
fn iterator() -> anyhow::Result<()> { fn iterator() {
let d = Directory { let d = Directory {
directories: vec![ directories: vec![
DirectoryNode { DirectoryNode {
@ -77,6 +77,4 @@ fn iterator() -> anyhow::Result<()> {
vec!["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l"], vec!["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l"],
node_names node_names
); );
Ok(())
} }