From 991fd5dd836f4005cc1b056faa56e4ef67a3e937 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Fri, 13 Dec 2024 23:30:07 +0100 Subject: [PATCH] fix: test can now run at least 2 times, initial and then via. delay Signed-off-by: kjuulh --- crates/drift/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/drift/src/lib.rs b/crates/drift/src/lib.rs index adcd903..db3d636 100644 --- a/crates/drift/src/lib.rs +++ b/crates/drift/src/lib.rs @@ -203,7 +203,7 @@ mod tests { assert!(token.is_cancelled()); let counter = drifter.counter.lock().unwrap(); - assert_eq!(*counter, 1); + assert_eq!(*counter, 2); Ok(()) }