diff --git a/index-scheduler/src/lib.rs b/index-scheduler/src/lib.rs index dab98ac4a..90c1d56f5 100644 --- a/index-scheduler/src/lib.rs +++ b/index-scheduler/src/lib.rs @@ -1251,10 +1251,7 @@ mod tests { } Err(RecvTimeoutError::Disconnected) => panic!("The scheduler crashed."), }; - assert!( - b == false, - "Found the breakpoint handle in a bad state. Check your test suite" - ); + assert!(!b, "Found the breakpoint handle in a bad state. Check your test suite"); self.last_breakpoint = breakpoint_2;