Diffstat (limited to 'tests/walker_struct.rs')
| -rw-r--r-- | tests/walker_struct.rs | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/tests/walker_struct.rs b/tests/walker_struct.rs index 26f8935..95184a3 100644 --- a/tests/walker_struct.rs +++ b/tests/walker_struct.rs @@ -131,7 +131,12 @@ fn sequence_of_field_values() { Some(Box::new(visitor)) }); - assert_eq!(scope.next(Builder::<Blocking>::as_visitor(&mut visitor)).value(), Flow::Continue); + assert_eq!( + scope + .next(Builder::<Blocking>::as_visitor(&mut visitor)) + .value(), + Flow::Continue + ); } // Get the second field value. @@ -159,7 +164,12 @@ fn sequence_of_field_values() { Some(Box::new(visitor)) }); - assert_eq!(scope.next(Builder::<Blocking>::as_visitor(&mut visitor)).value(), Flow::Done); + assert_eq!( + scope + .next(Builder::<Blocking>::as_visitor(&mut visitor)) + .value(), + Flow::Done + ); } // We are done with the sequence of fields. |