Skip to content

Commit 2302e90

Browse files
committed
Add a test for 'blank_lines_lower_bound = 1'
1 parent 39a304f commit 2302e90

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// rustfmt-blank_lines_lower_bound: 1
2+
3+
fn foo() {}
4+
fn bar() {}
5+
// comment
6+
fn foobar() {}
7+
8+
fn foo1() {}
9+
fn bar1() {}
10+
11+
// comment
12+
13+
fn foobar1() {}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// rustfmt-blank_lines_lower_bound: 1
2+
3+
fn foo() {}
4+
5+
fn bar() {}
6+
7+
// comment
8+
fn foobar() {}
9+
10+
fn foo1() {}
11+
12+
fn bar1() {}
13+
14+
// comment
15+
16+
fn foobar1() {}

0 commit comments

Comments
 (0)