Skip to content

Commit ea675ab

Browse files
committed
Insert newline at the end
1 parent f2b872a commit ea675ab

File tree

1 file changed

+19
-10
lines changed

1 file changed

+19
-10
lines changed

crates/ide/src/rename.rs

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ mod tests {
466466
.collect::<Vec<_>>();
467467

468468
format!(
469-
"source_file_edits: {:#?}\nfile_system_edits: {:#?}",
469+
"source_file_edits: {:#?}\nfile_system_edits: {:#?}\n",
470470
source_file_edits, file_system_edits
471471
)
472472
}
@@ -973,7 +973,8 @@ mod foo$0;
973973
},
974974
},
975975
),
976-
]"#]],
976+
]
977+
"#]],
977978
);
978979
}
979980

@@ -1035,7 +1036,8 @@ use crate::foo$0::FooContent;
10351036
},
10361037
},
10371038
),
1038-
]"#]],
1039+
]
1040+
"#]],
10391041
);
10401042
}
10411043

@@ -1086,7 +1088,8 @@ mod fo$0o;
10861088
},
10871089
},
10881090
),
1089-
]"#]],
1091+
]
1092+
"#]],
10901093
);
10911094
}
10921095

@@ -1132,7 +1135,8 @@ mod outer { mod fo$0o; }
11321135
},
11331136
},
11341137
),
1135-
]"#]],
1138+
]
1139+
"#]],
11361140
);
11371141
}
11381142

@@ -1218,7 +1222,8 @@ pub mod foo$0;
12181222
},
12191223
},
12201224
),
1221-
]"#]],
1225+
]
1226+
"#]],
12221227
);
12231228
}
12241229

@@ -1299,7 +1304,8 @@ mod quux;
12991304
},
13001305
},
13011306
),
1302-
]"#]],
1307+
]
1308+
"#]],
13031309
)
13041310
}
13051311
#[test]
@@ -1367,7 +1373,8 @@ mod bar$0;
13671373
"#,
13681374
expect![[r#"
13691375
source_file_edits: []
1370-
file_system_edits: []"#]],
1376+
file_system_edits: []
1377+
"#]],
13711378
)
13721379
}
13731380

@@ -1444,7 +1451,8 @@ pub fn baz() {}
14441451
},
14451452
},
14461453
),
1447-
]"#]],
1454+
]
1455+
"#]],
14481456
);
14491457
}
14501458

@@ -1521,7 +1529,8 @@ pub fn baz() {}
15211529
},
15221530
},
15231531
),
1524-
]"#]],
1532+
]
1533+
"#]],
15251534
);
15261535
}
15271536

0 commit comments

Comments
 (0)