test: increase coverage to 93%

This commit is contained in:
swaits committed 2025-10-07 17:29:08 -07:00
1 parent 98b8bcfd6e
commit 400c01d73c
8 files changed
+404 -17

No files matched your search

+2
View File
@@ -11,6 +11,7 @@ struct TestTask {
#[crate::task]
impl TestTask {
#[cfg(not(tarpaulin_include))]
async fn run(&self) -> i32 {
self.value
}
@@ -20,6 +21,7 @@ struct TestTaskWithInput;
#[crate::task]
impl TestTaskWithInput {
#[cfg(not(tarpaulin_include))]
async fn run(input: &i32) -> i32 {
input * 2
}