about summary refs log tree commit diff
path: root/tvix/nix-compat/src/nar/writer/mod.rs
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-10-18T12·27+0100
committerflokli <flokli@flokli.de>2023-10-18T12·31+0000
commit42d3c1a74811bbe20ec8dd10d92cc28739b7fdc5 (patch)
treebe413e1071fbc40bf151a70ee67853870ee75046 /tvix/nix-compat/src/nar/writer/mod.rs
parent05bca22121ad223fa44062391e0418b0975766db (diff)
test(tvix/nix-compat/nar/writer/sync): add tests r/6857
Change-Id: I04c556e7b57f20dd33f71b0379e6104e1702a8ee
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9785
Reviewed-by: Connor Brewster <cbrewster@hey.com>
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/nix-compat/src/nar/writer/mod.rs')
-rw-r--r--tvix/nix-compat/src/nar/writer/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/tvix/nix-compat/src/nar/writer/mod.rs b/tvix/nix-compat/src/nar/writer/mod.rs
index bf81ccd4df32..fe8ccccb3787 100644
--- a/tvix/nix-compat/src/nar/writer/mod.rs
+++ b/tvix/nix-compat/src/nar/writer/mod.rs
@@ -2,5 +2,8 @@ pub use sync::*;
 
 pub mod sync;
 
+#[cfg(test)]
+mod test;
+
 #[cfg(feature = "async")]
 pub mod r#async;