From f491fd4bc8caa9376ec6317056d2e7b36c8d876d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=97=E7=8E=AE=20=28Jade=20Lin=29?= Date: Wed, 7 Aug 2024 20:30:55 +0800 Subject: [PATCH] Coverage report excludes test codes --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index adf5322..4467577 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -10,6 +10,7 @@ pub mod db; pub mod utils; #[cfg(test)] +#[cfg(not(tarpaulin_include))] #[ctor::ctor] fn init() { crate::utils::logging::setup_console_log();