ops: fix a lint in the task tests

This commit is contained in:
ApsisRS contributors 2026-09-26 17:00:11 +08:00
parent 9e571188c8
commit 09e5e7e5e4
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ fn a_new_task_has_the_given_duration_and_nothing_else() {
// A task with no window is unbounded at both ends.
assert!(task.earliest_start.is_infinite() && task.earliest_start < 0.0);
assert!(task.latest_end.is_infinite() && task.latest_end > 0.0);
assert!(task.window_is_too_short() == false);
assert!(!task.window_is_too_short());
}
#[test]