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/Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'server/common/Cargo.toml') diff --git a/server/common/Cargo.toml b/server/common/Cargo.toml index a17fb95..aa358b2 100644 --- a/server/common/Cargo.toml +++ b/server/common/Cargo.toml @@ -7,4 +7,7 @@ edition = "2021" futures.workspace = true pathdiff = "0.2.3" serde.workspace = true -tokio = { workspace = true, features = ["fs", "process", "sync"] } +tokio = { workspace = true, features = ["fs", "macros", "process", "rt", "sync"] } + +[dev-dependencies] +testdir.workspace = true -- cgit v1.2.3-70-g09d2