From f1663e24c148421692346f7470d77b258d78b585 Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Mon, 3 Feb 2025 23:58:47 +0100 Subject: 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. --- server/common/src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'server/common/src/lib.rs') 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; -- cgit v1.2.3-70-g09d2