mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
Rerun cargo format, to make tests pass and formatting incorrect
This commit is contained in:
parent
44b2642900
commit
67e75ca126
2 changed files with 7 additions and 7 deletions
|
@ -389,7 +389,7 @@ mod tests {
|
|||
let new_name = "foo2";
|
||||
let source_change = analysis.rename(position, new_name).unwrap();
|
||||
assert_debug_snapshot_matches!(&source_change,
|
||||
@r###"Some(
|
||||
@r###"Some(
|
||||
SourceChange {
|
||||
label: "rename",
|
||||
source_file_edits: [
|
||||
|
@ -421,7 +421,7 @@ mod tests {
|
|||
cursor_position: None,
|
||||
},
|
||||
)"###
|
||||
);
|
||||
);
|
||||
}
|
||||
|
||||
fn test_rename(text: &str, new_name: &str, expected: &str) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue