diff options
Diffstat (limited to 'tvix')
-rw-r--r-- | tvix/nix-compat/src/narinfo/mod.rs (renamed from tvix/nix-compat/src/narinfo.rs) | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tvix/nix-compat/src/narinfo.rs b/tvix/nix-compat/src/narinfo/mod.rs index dc1c6f181bc9..2392b89737d4 100644 --- a/tvix/nix-compat/src/narinfo.rs +++ b/tvix/nix-compat/src/narinfo/mod.rs @@ -509,8 +509,10 @@ mod test { lazy_static! { static ref CASES: &'static [&'static str] = { - let data = zstd::decode_all(io::Cursor::new(include_bytes!("../testdata/narinfo.zst"))) - .unwrap(); + let data = zstd::decode_all(io::Cursor::new(include_bytes!( + "../../testdata/narinfo.zst" + ))) + .unwrap(); let data = str::from_utf8(Vec::leak(data)).unwrap(); Vec::leak( data.split_inclusive("\n\n") |