Allow specifying MAX_EXCERPTS via an env variable in random tests
This commit is contained in:
@@ -1252,7 +1252,7 @@ mod tests {
|
||||
let buffer = if rng.gen() {
|
||||
MultiBuffer::build_simple(&text, cx)
|
||||
} else {
|
||||
MultiBuffer::build_random(rng.gen_range(1..=5), &mut rng, cx)
|
||||
MultiBuffer::build_random(&mut rng, cx)
|
||||
};
|
||||
let mut buffer_snapshot = buffer.read(cx).snapshot(cx);
|
||||
let mut map = FoldMap::new(buffer_snapshot.clone()).0;
|
||||
|
||||
Reference in New Issue
Block a user