WIP: Start on applying code actions
This commit is contained in:
parent
dc20be256e
commit
982e90539d
6 changed files with 154 additions and 32 deletions
|
@ -1237,7 +1237,7 @@ mod tests {
|
|||
self, test::FakeHttpClient, Channel, ChannelDetails, ChannelList, Client, Credentials,
|
||||
EstablishConnectionError, UserStore,
|
||||
},
|
||||
editor::{Editor, EditorSettings, Input, MultiBuffer},
|
||||
editor::{ConfirmCompletion, Editor, EditorSettings, Input, MultiBuffer},
|
||||
fs::{FakeFs, Fs as _},
|
||||
language::{
|
||||
tree_sitter_rust, AnchorRangeExt, Diagnostic, DiagnosticEntry, Language,
|
||||
|
@ -2469,7 +2469,7 @@ mod tests {
|
|||
editor_b.next_notification(&cx_b).await;
|
||||
editor_b.update(&mut cx_b, |editor, cx| {
|
||||
assert!(editor.showing_context_menu());
|
||||
editor.confirm_completion(Some(0), cx);
|
||||
editor.confirm_completion(&ConfirmCompletion(Some(0)), cx);
|
||||
assert_eq!(editor.text(cx), "fn main() { a.first_method() }");
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue