diff --git a/src/fen.rs b/src/fen.rs index 13cc5ab..b47ef09 100644 --- a/src/fen.rs +++ b/src/fen.rs @@ -440,6 +440,6 @@ mod tests { let fen2 = BoardState::from_fen(fen1).unwrap().to_fen(); assert_eq!(fen1.to_string(), fen2, "FEN not equivalent") - } + } } } diff --git a/src/lib.rs b/src/lib.rs index bf44feb..8901be6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -548,7 +548,11 @@ mod tests { } let board = BoardState::from_fen("8/4p3/1q1Q1p2/4p3/1p1r4/8/8/8 w - - 0 1").unwrap(); - let white_queens = board.pl(Color::White).board(Piece::Queen).into_iter().collect::>(); + let white_queens = board + .pl(Color::White) + .board(Piece::Queen) + .into_iter() + .collect::>(); assert_eq!(white_queens, vec![Square::from_str("d6").unwrap()]) } }