Add a test for 'blank_lines_lower_bound = 1'

This commit is contained in:
Seiichi Uchida 2017-12-05 17:38:07 +09:00
parent 39a304f529
commit 2302e904e9
2 changed files with 29 additions and 0 deletions

View 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() {}

View 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() {}