fix: test can now run at least 2 times, initial and then via. delay
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
84820dcc82
commit
991fd5dd83
@ -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(())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user