diff --git a/tests/source/configs-blank_lines_lower_bound-1.rs b/tests/source/configs-blank_lines_lower_bound-1.rs new file mode 100644 index 00000000000..c6058a55b0a --- /dev/null +++ b/tests/source/configs-blank_lines_lower_bound-1.rs @@ -0,0 +1,13 @@ +// rustfmt-blank_lines_lower_bound: 1 + +fn foo() {} +fn bar() {} +// comment +fn foobar() {} + +fn foo1() {} +fn bar1() {} + +// comment + +fn foobar1() {} diff --git a/tests/target/configs-blank_lines_lower_bound-1.rs b/tests/target/configs-blank_lines_lower_bound-1.rs new file mode 100644 index 00000000000..9706699dc7a --- /dev/null +++ b/tests/target/configs-blank_lines_lower_bound-1.rs @@ -0,0 +1,16 @@ +// rustfmt-blank_lines_lower_bound: 1 + +fn foo() {} + +fn bar() {} + +// comment +fn foobar() {} + +fn foo1() {} + +fn bar1() {} + +// comment + +fn foobar1() {}