Skip to content

Commit 29f1185

Browse files
fmt
1 parent ae042ce commit 29f1185

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

consensus/src/extension/extender.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,10 @@ mod test {
122122
assert!(batch.len() == threshold.0 || batch.len() == n_members.0);
123123
if batch.len() == n_members.0 {
124124
// the batch that should have ancient unit
125-
assert!(batch.iter().find(|&unit| unit.parents().count() == 0).is_some());
125+
assert!(batch
126+
.iter()
127+
.find(|&unit| unit.parents().count() == 0)
128+
.is_some());
126129
}
127130
}
128131
}

0 commit comments

Comments
 (0)