Skip to content

Commit

Permalink
Add a test for rust-lang#3066
Browse files Browse the repository at this point in the history
  • Loading branch information
YaLTeR committed Oct 6, 2018
1 parent 383a23d commit cfe20fe
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/source/issue-3066.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// rustfmt-indent_style: Visual
fn main() {
Struct { field: aaaaaaaaaaa };
Struct { field: aaaaaaaaaaaa, };
Struct { field: value,
field2: value2, };
}
7 changes: 7 additions & 0 deletions tests/target/issue-3066.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// rustfmt-indent_style: Visual
fn main() {
Struct { field: aaaaaaaaaaa };
Struct { field: aaaaaaaaaaaa };
Struct { field: value,
field2: value2 };
}

0 comments on commit cfe20fe

Please sign in to comment.