Diffstat (limited to 'tests/builder_struct.rs')
| -rw-r--r-- | tests/builder_struct.rs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/builder_struct.rs b/tests/builder_struct.rs index 1149b9b..219c069 100644 --- a/tests/builder_struct.rs +++ b/tests/builder_struct.rs @@ -61,7 +61,10 @@ fn a_struct_builder_can_build_from_a_sequence_of_field_values() { )); // The builder should be able to build a instance of the struct. - assert_eq!(builder.build().into_value().unwrap().0, X { a: true, b: false }); + assert_eq!( + builder.build().into_value().unwrap().0, + X { a: true, b: false } + ); } #[test] @@ -146,5 +149,8 @@ fn a_struct_builder_can_build_from_a_sequence_of_keyed_values() { ); // The struct is built as the mock walker above makes it. - assert_eq!(builder.build().into_value().unwrap().0, X { a: false, b: true }); + assert_eq!( + builder.build().into_value().unwrap().0, + X { a: false, b: true } + ); } |