Better naming and docs

This commit is contained in:
Kirill Bulatov 2020-08-11 17:15:11 +03:00
parent 188ec3459e
commit db12ccee96
6 changed files with 30 additions and 28 deletions

View file

@ -183,7 +183,7 @@ mod tests {
/// Takes a multi-file input fixture with annotated cursor positions,
/// and checks that:
/// * a diagnostic is produced
/// * this diagnostic fix touches the input cursor position
/// * this diagnostic fix trigger range touches the input cursor position
/// * that the contents of the file containing the cursor match `after` after the diagnostic fix is applied
fn check_fix(ra_fixture_before: &str, ra_fixture_after: &str) {
let after = trim_indent(ra_fixture_after);