mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-28 11:29:25 +00:00
Use anchor_after
in randomized tests to match BlockMap
This commit is contained in:
parent
c844fcdc09
commit
6f5ca6064b
1 changed files with 1 additions and 1 deletions
|
@ -1340,7 +1340,7 @@ mod tests {
|
|||
let block_properties = (0..block_count)
|
||||
.map(|_| {
|
||||
let buffer = buffer.read(cx);
|
||||
let position = buffer.anchor_before(
|
||||
let position = buffer.anchor_after(
|
||||
buffer.clip_offset(rng.gen_range(0..=buffer.len()), Bias::Left),
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue