Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ufoscout committed Sep 2, 2024
1 parent 50a4cf8 commit d5b849b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ic-task-scheduler/src/scheduler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ where
let mut keys = Vec::with_capacity(tasks.len());
for task in tasks {
keys.push(self.append_task(task));
}
}
keys
}

Expand Down Expand Up @@ -1364,7 +1364,7 @@ mod test {
let map = StableBTreeMap::new(VectorMemory::default());
let sequence = StableCell::new(VectorMemory::default(), base_task_id).unwrap();
let scheduler = Scheduler::new(map, sequence);

for id in base_task_id..(base_task_id + 10) {
let id_in_scheduler =
scheduler.append_task((SimpleTask::StepOne { id }, TaskOptions::new()).into());
Expand Down

0 comments on commit d5b849b

Please sign in to comment.