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 12, 2023
1 parent 521a277 commit 06e5b39
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pallets/automation-price/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1130,7 +1130,8 @@ fn test_expired_task_not_run() {
task_id: task.task_id.clone(),
condition: crate::TaskCondition::AlreadyExpired {
expired_at: task.expired_at,
now: START_BLOCK_TIME.saturating_add(7200_000_u64)
now: START_BLOCK_TIME
.saturating_add(7200_000_u64)
.checked_div(1000)
.ok_or(ArithmeticError::Overflow)
.expect("blocktime is out of range") as u128,
Expand Down

0 comments on commit 06e5b39

Please sign in to comment.