Skip to content

Commit 056ccb3

Browse files
committed
fix: add default game status in tests
1 parent 3696c72 commit 056ccb3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backend/src/game.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -482,13 +482,13 @@ mod test {
482482
GameState {
483483
board: board.clone(),
484484
current_player: crate::game::Player::White,
485-
..Default::default()
485+
status: super::GameStatus::Running,
486486
}
487487
.list_valid_moves(),
488488
GameState {
489489
board,
490490
current_player: crate::game::Player::Black,
491-
..Default::default()
491+
status: super::GameStatus::Running,
492492
}
493493
.list_valid_moves(),
494494
)

0 commit comments

Comments
 (0)