Skip to content

Commit

Permalink
fixup: auto format Rust code
Browse files Browse the repository at this point in the history
  • Loading branch information
oak-code-formatter committed Oct 26, 2023
1 parent 3229bc3 commit 9fd56e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pallets/automation-time/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9fd56e6

Please sign in to comment.