From b7f17346e55a9494d8fed610f613e1722da3042d Mon Sep 17 00:00:00 2001 From: Shawn Xu Date: Thu, 21 Nov 2024 22:17:47 -0800 Subject: [PATCH] Fix Sanitizer Tests closes https://github.com/official-stockfish/Stockfish/pull/5692 No functional change --- tests/instrumented.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/instrumented.py b/tests/instrumented.py index a3747d4e97a..db5ec8e0802 100644 --- a/tests/instrumented.py +++ b/tests/instrumented.py @@ -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")