Fill in some missing methods on MultiBuffer, MultiBufferSnapshot
This commit is contained in:
parent
5b31c1ba4e
commit
a758bd4f8d
10 changed files with 287 additions and 189 deletions
|
@ -1707,6 +1707,7 @@ mod tests {
|
|||
buffer_b.read_with(&cx_b, |buffer, _| {
|
||||
assert_eq!(
|
||||
buffer
|
||||
.snapshot()
|
||||
.diagnostics_in_range::<_, Point>(0..buffer.len())
|
||||
.collect::<Vec<_>>(),
|
||||
&[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue