Re-enable creating multiple blocks at once in BlockMap tests

This commit is contained in:
Antonio Scandurra 2021-12-16 12:41:48 +01:00
parent abf96e6ad6
commit de679cae78

View file

@ -1155,7 +1155,7 @@ mod tests {
wrap_map.update(cx, |map, cx| map.set_wrap_width(wrap_width, cx)); wrap_map.update(cx, |map, cx| map.set_wrap_width(wrap_width, cx));
} }
20..=39 => { 20..=39 => {
let block_count = rng.gen_range(1..=1); let block_count = rng.gen_range(1..=5);
let block_properties = (0..block_count) let block_properties = (0..block_count)
.map(|_| { .map(|_| {
let buffer = buffer.read(cx).read(cx); let buffer = buffer.read(cx).read(cx);