From f388d9cdaf2623a986de8f577f6059fd1b084e88 Mon Sep 17 00:00:00 2001 From: ApsisRS contributors Date: Sat, 26 Sep 2026 17:00:11 +0800 Subject: [PATCH] ops: fix a lint in the task tests --- crates/ops/apsis-task/tests/task.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ops/apsis-task/tests/task.rs b/crates/ops/apsis-task/tests/task.rs index c1bc01d..f5929ce 100644 --- a/crates/ops/apsis-task/tests/task.rs +++ b/crates/ops/apsis-task/tests/task.rs @@ -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]