Skip to content

Commit

Permalink
Fix Sanitizer Tests
Browse files Browse the repository at this point in the history
closes official-stockfish#5692

No functional change
  • Loading branch information
xu-shawn authored and Disservin committed Nov 22, 2024
1 parent fb6be17 commit b7f1734
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/instrumented.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,10 +352,10 @@ def test_fen_position_with_mate_go_nodes(self):
def test_fen_position_depth_27(self):
self.stockfish.send_command("ucinewgame")
self.stockfish.send_command(
"position fen 1NR2B2/5p2/5p2/1p1kpp2/1P2rp2/2P1pB2/2P1P1K1/8 b - -"
"position fen r1b2r1k/pp1p2pp/2p5/2B1q3/8/8/P1PN2PP/R4RK1 w - - 0 18"
)
self.stockfish.send_command("go depth 27")
self.stockfish.contains("score mate -2")
self.stockfish.send_command("go")
self.stockfish.contains("score mate 1")

self.stockfish.starts_with("bestmove")

Expand Down

0 comments on commit b7f1734

Please sign in to comment.