Skip to content

Commit

Permalink
Update game.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
tigerros committed Aug 9, 2024
1 parent 9aea305 commit 718a8e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/game.rs
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ mod tests {
let mut reader = BufferedReader::new_cursor(PGN1.to_string() + "\n" + PGN2 + "\n" + PGN3);

assert_eq!(
&Game::from_reader(&mut reader).into_iter().filter_map(Result::ok).collect::<Vec<_>>(),
&Game::from_reader(&mut reader).into_iter().map(Result::unwrap).collect::<Vec<_>>(),
&[pgn1_parsed(), pgn2_parsed(), pgn3_parsed()]
);
}
Expand Down

0 comments on commit 718a8e1

Please # to comment.