about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/database/file/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/database/file/mod.rs b/src/database/file/mod.rs
index f9588f5..1e7aa96 100644
--- a/src/database/file/mod.rs
+++ b/src/database/file/mod.rs
@@ -81,6 +81,7 @@ fn path_relative_from(path: &Path, base: &Path) -> Option<PathBuf> {
 }
 
 #[allow(clippy::unwrap_used, clippy::expect_used)]
+#[cfg(test)]
 mod tests {
     #[test]
     fn test_relative_path_resolving() {