From 1277b0c08891e8fd82c4a504193f43f635a7be18 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Sun, 13 Oct 2024 19:39:23 +0300 Subject: chore(tvix/castore): remove commented-out test fixture This became obsolete, since the introduction of a stricter `Directory` struct invalid names cannot be represented anymore. Change-Id: I9e4b1b6cca01831d0a9735f58d8a1f59ac18676b Reviewed-on: https://cl.tvl.fyi/c/depot/+/12615 Reviewed-by: flokli Reviewed-by: edef Autosubmit: flokli Tested-by: BuildkiteCI --- tvix/castore/src/directoryservice/directory_graph.rs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'tvix') diff --git a/tvix/castore/src/directoryservice/directory_graph.rs b/tvix/castore/src/directoryservice/directory_graph.rs index 017cef024059..33a03b263b81 100644 --- a/tvix/castore/src/directoryservice/directory_graph.rs +++ b/tvix/castore/src/directoryservice/directory_graph.rs @@ -271,15 +271,7 @@ impl ValidatedDirectoryGraph { .filter_map(move |i| nodes[i.index()].weight.take()) } } -/* - pub static ref BROKEN_DIRECTORY : Directory = Directory { - symlinks: vec![SymlinkNode { - name: "".into(), // invalid name! - target: "doesntmatter".into(), - }], - ..Default::default() - }; -*/ + #[cfg(test)] mod tests { use crate::fixtures::{DIRECTORY_A, DIRECTORY_B, DIRECTORY_C}; -- cgit 1.4.1