test/data/game055.pgn

Fri, 24 Jul 2026 12:42:57 +0200

author
Mike Becker <universe@uap-core.de>
date
Fri, 24 Jul 2026 12:42:57 +0200
changeset 153
bad2d6d4b861
parent 149
ea2448961441
permissions
-rw-r--r--

fix wrong error message when move indices are invalid

was INVALID_POSITION "no piece cannot be moved this way"
but should be INVALID_MOVE_SYNTAX

[Result "0-1"]

1. c4 e5 2. Nc3 d6 3. g3 Bf5 4. Bg2 Nf6 5. Bxb7 Nbd7 6. Bxa8 Qxa8 7. e4 Bxe4 8. Nxe4 Qxe4+ 9. Qe2 Qxh1 10. f3 Qxg1+ 11. Qf1 Qxh2 0-1

mercurial