From 9fd56e628a9622b79572d7bc776363f536a683de Mon Sep 17 00:00:00 2001 From: oak-code-formatter Date: Thu, 26 Oct 2023 08:33:32 +0000 Subject: [PATCH] fixup: auto format Rust code --- pallets/automation-time/src/tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pallets/automation-time/src/tests.rs b/pallets/automation-time/src/tests.rs index dcc4d330..36424835 100644 --- a/pallets/automation-time/src/tests.rs +++ b/pallets/automation-time/src/tests.rs @@ -2160,7 +2160,7 @@ fn trigger_tasks_limits_missed_slots() { AutomationTime::get_last_slot() { assert_eq!(updated_last_time_slot, SCHEDULED_TIME); - + // This line ensures when given a total weight of 9_769_423 + 200_000, missing_task_id5, missing_task_id4, missing_task_id3 and missing_task_id2 will be discarded from the missed_queue in the current version of code. // TODO: we should examine the tasks in missed_queue instead of examing the timestamp of missing_task_id2 assert_eq!(updated_last_missed_slot, SCHEDULED_TIME - SLOT_SIZE_SECONDS * 2);