diff options
author | Florian Klink <flokli@flokli.de> | 2024-10-13T16·39+0300 |
---|---|---|
committer | flokli <flokli@flokli.de> | 2024-10-17T17·37+0000 |
commit | 1277b0c08891e8fd82c4a504193f43f635a7be18 (patch) | |
tree | 7d9916f4440eae2419bccdc104024cf5aa8e5086 /tvix | |
parent | 42377ba2350f464ec0491e7d568d88eccaf9672b (diff) |
chore(tvix/castore): remove commented-out test fixture r/8821
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 <flokli@flokli.de> Reviewed-by: edef <edef@edef.eu> Autosubmit: flokli <flokli@flokli.de> Tested-by: BuildkiteCI
Diffstat (limited to 'tvix')
-rw-r--r-- | tvix/castore/src/directoryservice/directory_graph.rs | 10 |
1 files changed, 1 insertions, 9 deletions
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}; |