Skip autoclosed pairs
Co-Authored-By: Nathan Sobo <nathan@zed.dev> Co-Authored-By: Max Brunsfeld <max@zed.dev>
This commit is contained in:
parent
05d7e9c4e7
commit
724272931a
5 changed files with 174 additions and 58 deletions
|
@ -981,7 +981,7 @@ mod tests {
|
|||
self, test::FakeHttpClient, Channel, ChannelDetails, ChannelList, Client, Credentials,
|
||||
EstablishConnectionError, UserStore,
|
||||
},
|
||||
editor::{Editor, EditorSettings, Insert},
|
||||
editor::{Editor, EditorSettings, Input},
|
||||
fs::{FakeFs, Fs as _},
|
||||
people_panel::JoinWorktree,
|
||||
project::{ProjectPath, Worktree},
|
||||
|
@ -1068,7 +1068,7 @@ mod tests {
|
|||
|
||||
// Edit the buffer as client B and see that edit as client A.
|
||||
editor_b.update(&mut cx_b, |editor, cx| {
|
||||
editor.insert(&Insert("ok, ".into()), cx)
|
||||
editor.handle_input(&Input("ok, ".into()), cx)
|
||||
});
|
||||
buffer_a
|
||||
.condition(&cx_a, |buffer, _| buffer.text() == "ok, b-contents")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue