refactor(tvix/nix-compat): move narinfo into separate mod
Change-Id: Id85f979e46946da0345483cbbc6de3dd29c94c63 Reviewed-on: https://cl.tvl.fyi/c/depot/+/10077 Tested-by: BuildkiteCI Autosubmit: flokli <flokli@flokli.de> Reviewed-by: raitobezarius <tvl@lahfa.xyz>
This commit is contained in:
parent
be48ba75ab
commit
6039b97b55
1 changed files with 4 additions and 2 deletions
|
@ -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")
|
Loading…
Reference in a new issue