Skip to content

Commit

Permalink
Add a test
Browse files Browse the repository at this point in the history
  • Loading branch information
topecongiro committed May 26, 2020
1 parent 4dabaf1 commit c995c46
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rustfmt-core/rustfmt-lib/tests/target/skip/foo.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#![rustfmt::skip]

fn
foo()
{}
6 changes: 6 additions & 0 deletions rustfmt-core/rustfmt-lib/tests/target/skip/main.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// rustfmt-recursive: true
mod foo;

fn main() {
println!("Hello, world!");
}

0 comments on commit c995c46

Please sign in to comment.