Skip to content

Commit c0b7de7

Browse files
committed
Merge pull request #722 from matklad/test-ignore-children
test ignored out of line modules
2 parents 55506b8 + e3123ce commit c0b7de7

File tree

4 files changed

+10
-0
lines changed

4 files changed

+10
-0
lines changed

tests/source/mod_skip_child.rs

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// rustfmt-skip_children: true
2+
mod nested_skipped;

tests/source/nested_skipped/mod.rs

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
fn ugly() {
2+
92;
3+
}

tests/target/mod_skip_child.rs

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// rustfmt-skip_children: true
2+
mod nested_skipped;

tests/target/nested_skipped/mod.rs

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
fn ugly() {
2+
92;
3+
}

0 commit comments

Comments
 (0)