about summary refs log tree commit diff
path: root/tvix/castore/src
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/castore/src')
-rw-r--r--tvix/castore/src/path.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tvix/castore/src/path.rs b/tvix/castore/src/path.rs
index 4a6d82f68158..dfbf92232557 100644
--- a/tvix/castore/src/path.rs
+++ b/tvix/castore/src/path.rs
@@ -208,6 +208,7 @@ mod test {
     #[case::dotdot_middle("a/../b")]
     #[case::dot_end("a/b/.")]
     #[case::dotdot_end("a/b/..")]
+    #[case::null("fo\0o")]
     pub fn from_str_fail(#[case] s: &str) {
         s.parse::<PathBuf>().expect_err("must fail");
     }