Better support client completion resolve caps
This commit is contained in:
@@ -97,6 +97,7 @@ pub(crate) fn check_edit_with_config(
|
||||
.unwrap_or_else(|| panic!("can't find {:?} completion in {:#?}", what, completions));
|
||||
let mut actual = db.file_text(position.file_id).to_string();
|
||||
completion.text_edit().apply(&mut actual);
|
||||
// TODO kb how to apply imports now?
|
||||
assert_eq_text!(&ra_fixture_after, &actual)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user