Add a test for 'blank_lines_lower_bound = 1'
This commit is contained in:
parent
39a304f529
commit
2302e904e9
13
tests/source/configs-blank_lines_lower_bound-1.rs
Normal file
13
tests/source/configs-blank_lines_lower_bound-1.rs
Normal file
@ -0,0 +1,13 @@
|
||||
// rustfmt-blank_lines_lower_bound: 1
|
||||
|
||||
fn foo() {}
|
||||
fn bar() {}
|
||||
// comment
|
||||
fn foobar() {}
|
||||
|
||||
fn foo1() {}
|
||||
fn bar1() {}
|
||||
|
||||
// comment
|
||||
|
||||
fn foobar1() {}
|
16
tests/target/configs-blank_lines_lower_bound-1.rs
Normal file
16
tests/target/configs-blank_lines_lower_bound-1.rs
Normal file
@ -0,0 +1,16 @@
|
||||
// rustfmt-blank_lines_lower_bound: 1
|
||||
|
||||
fn foo() {}
|
||||
|
||||
fn bar() {}
|
||||
|
||||
// comment
|
||||
fn foobar() {}
|
||||
|
||||
fn foo1() {}
|
||||
|
||||
fn bar1() {}
|
||||
|
||||
// comment
|
||||
|
||||
fn foobar1() {}
|
Loading…
x
Reference in New Issue
Block a user