Add and remove excerpts in randomized FoldMap and WrapMap tests
This commit is contained in:
parent
5b4c0d64bc
commit
1ee15e1a59
2 changed files with 18 additions and 10 deletions
|
@ -1107,7 +1107,7 @@ mod tests {
|
|||
buffer.update(&mut cx, |buffer, cx| {
|
||||
let subscription = buffer.subscribe();
|
||||
let edit_count = rng.gen_range(1..=5);
|
||||
buffer.randomly_edit(&mut rng, edit_count, cx);
|
||||
buffer.randomly_mutate(&mut rng, edit_count, cx);
|
||||
buffer_snapshot = buffer.snapshot(cx);
|
||||
buffer_edits.extend(subscription.consume());
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue