Add eager resolve capability

This commit is contained in:
Kirill Bulatov 2020-12-02 23:55:35 +02:00
parent 2a7be4afb0
commit d9bd1f171d
8 changed files with 43 additions and 13 deletions

View file

@ -97,7 +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?
// git how to apply imports now?
assert_eq_text!(&ra_fixture_after, &actual)
}