Skip to content

Commit

Permalink
Temporarily fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
topecongiro committed Apr 28, 2018
1 parent e512c19 commit 3432807
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 6 deletions.
8 changes: 6 additions & 2 deletions tests/target/configs/struct_field_align_threshold/20.rs
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,12 @@ struct Foo {
struct Foo {
// trailing space ->
}
struct Foo { /* comment */ }
struct Foo( /* comment */ );
struct Foo {
// comment
}
struct Foo(
// comment
);

struct LongStruct {
a: A,
Expand Down
4 changes: 3 additions & 1 deletion tests/target/issue-977.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
trait NameC {
// comment
}
struct FooC { /* comment */ }
struct FooC {
// comment
}
enum MooC {
// comment
}
Expand Down
8 changes: 6 additions & 2 deletions tests/target/structs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,12 @@ struct Foo {
struct Foo {
// trailing space ->
}
struct Foo { /* comment */ }
struct Foo( /* comment */ );
struct Foo {
// comment
}
struct Foo(
// comment
);

struct LongStruct {
a: A,
Expand Down
4 changes: 3 additions & 1 deletion tests/target/unions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,9 @@ union Foo {
union Foo {
// trailing space ->
}
union Foo { /* comment */ }
union Foo {
// comment
}

union LongUnion {
a: A,
Expand Down

0 comments on commit 3432807

Please sign in to comment.