Add a test for #2025
This commit is contained in:
parent
291dbe8d87
commit
a9647f1108
8
tests/source/issue-2025.rs
Normal file
8
tests/source/issue-2025.rs
Normal file
@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
|
||||
|
||||
// See if rustfmt removes empty lines on top of the file.
|
||||
pub fn foo() {
|
||||
println!("hello, world");
|
||||
}
|
4
tests/target/issue-2025.rs
Normal file
4
tests/target/issue-2025.rs
Normal file
@ -0,0 +1,4 @@
|
||||
// See if rustfmt removes empty lines on top of the file.
|
||||
pub fn foo() {
|
||||
println!("hello, world");
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user