diff options
author | Florian Klink <flokli@flokli.de> | 2023-10-18T12·27+0100 |
---|---|---|
committer | flokli <flokli@flokli.de> | 2023-10-18T12·31+0000 |
commit | 05bca22121ad223fa44062391e0418b0975766db (patch) | |
tree | 6f841139a7a899d948e85fe4c850c4e5c490d81c /tvix/nix-compat/src/nar/reader/mod.rs | |
parent | e64acba454c7b3e988793ad388601c82904c2036 (diff) |
feat(tvix/nix-compat/nar/reader): add tests r/6856
Change-Id: If0abaf74a3b7d201af8972e54e3e34b20b8c0bc4 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9764 Tested-by: BuildkiteCI Reviewed-by: Connor Brewster <cbrewster@hey.com>
Diffstat (limited to 'tvix/nix-compat/src/nar/reader/mod.rs')
-rw-r--r-- | tvix/nix-compat/src/nar/reader/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tvix/nix-compat/src/nar/reader/mod.rs b/tvix/nix-compat/src/nar/reader/mod.rs index e0b2e1c84574..09af41866508 100644 --- a/tvix/nix-compat/src/nar/reader/mod.rs +++ b/tvix/nix-compat/src/nar/reader/mod.rs @@ -14,6 +14,8 @@ use std::io::{ use crate::nar::wire; mod read; +#[cfg(test)] +mod test; pub type Reader<'a> = dyn Read + Send + 'a; |