Preserve buffer identity when underlying entry temporarily disappears
This commit is contained in:
parent
0a1aea6cb8
commit
f28cc5ca0c
4 changed files with 26 additions and 14 deletions
|
@ -2457,6 +2457,7 @@ async fn test_buffer_is_dirty(cx: &mut gpui::TestAppContext) {
|
|||
.await
|
||||
.unwrap();
|
||||
cx.foreground().run_until_parked();
|
||||
buffer2.read_with(cx, |buffer, _| assert!(buffer.is_dirty()));
|
||||
assert_eq!(
|
||||
*events.borrow(),
|
||||
&[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue