Skip to content

Commit c20dd9b

Browse files
committed
Add a test for #3427
1 parent 0312958 commit c20dd9b

File tree

4 files changed

+10
-0
lines changed

4 files changed

+10
-0
lines changed

tests/source/path_clarity/foo.rs

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// rustfmt-edition: 2018
2+
mod bar;

tests/source/path_clarity/foo/bar.rs

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
pub fn fn_in_bar( ) {
2+
println!( "foo/bar.rs" );
3+
}

tests/target/path_clarity/foo.rs

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// rustfmt-edition: 2018
2+
mod bar;

tests/target/path_clarity/foo/bar.rs

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
pub fn fn_in_bar() {
2+
println!("foo/bar.rs");
3+
}

0 commit comments

Comments
 (0)