From 8173fa2ccdc8f4c23f14cdfa89bb09708ae6ce85 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Mon, 1 Apr 2024 20:41:54 +0100 Subject: [PATCH] Fix 'ChessBoard' validation test It wasn't actually testing the right thing due to the typo... --- src/board/chess_board/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/board/chess_board/mod.rs b/src/board/chess_board/mod.rs index d1d3751..3a53336 100644 --- a/src/board/chess_board/mod.rs +++ b/src/board/chess_board/mod.rs @@ -696,8 +696,8 @@ mod test { ], combined_occupancy: Square::A1 | Square::A8 - | Square::E1 - | Square::E8 + | Square::E2 + | Square::E7 | Square::H1 | Square::H8, castle_rights: [CastleRights::BothSides; 2],