summaryrefslogtreecommitdiff
path: root/server/common/src/lib.rs
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@spawned.biz>2025-02-03 23:58:47 +0100
committerJoel Klinghed <the_jk@spawned.biz>2025-02-03 23:58:47 +0100
commitf1663e24c148421692346f7470d77b258d78b585 (patch)
tree2a44cdb4da386fcca6b6be9037dcd9ce0ac88471 /server/common/src/lib.rs
parent67331b851295b0067f74cd410aef7986aa6a848e (diff)
code coverage: Add tests for common
Add coverage for common as well as server. Fix fs_utils::create_dir_allow_existing to fail if entry exists but isn't a dir.
Diffstat (limited to 'server/common/src/lib.rs')
-rw-r--r--server/common/src/lib.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/common/src/lib.rs b/server/common/src/lib.rs
index a63e05b..abea52e 100644
--- a/server/common/src/lib.rs
+++ b/server/common/src/lib.rs
@@ -1,3 +1,6 @@
pub mod fs_utils;
pub mod git;
pub mod git_socket;
+
+#[cfg(test)]
+mod tests;