Merge pull request #722 from matklad/test-ignore-children
test ignored out of line modules
This commit is contained in:
commit
c0b7de7c52
4 changed files with 10 additions and 0 deletions
2
tests/source/mod_skip_child.rs
Normal file
2
tests/source/mod_skip_child.rs
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
// rustfmt-skip_children: true
|
||||
mod nested_skipped;
|
||||
3
tests/source/nested_skipped/mod.rs
Normal file
3
tests/source/nested_skipped/mod.rs
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
fn ugly() {
|
||||
92;
|
||||
}
|
||||
2
tests/target/mod_skip_child.rs
Normal file
2
tests/target/mod_skip_child.rs
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
// rustfmt-skip_children: true
|
||||
mod nested_skipped;
|
||||
3
tests/target/nested_skipped/mod.rs
Normal file
3
tests/target/nested_skipped/mod.rs
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
fn ugly() {
|
||||
92;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue