From 800dd7677276f9e425c5db37b3e31e56ab1dad32 Mon Sep 17 00:00:00 2001 From: dickmao Date: Tue, 28 Aug 2018 21:48:31 -0400 Subject: Add tests for castling legality and ics response handling. Fixes misinterpretation of "e1-b1" as a valid queenside castle, and makes more sense of ics basic response handling #21. `make test` should run the historic.pgn test and the new ecukes tests. --- chess-module.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chess-module.el') diff --git a/chess-module.el b/chess-module.el index c581844..cfcae66 100644 --- a/chess-module.el +++ b/chess-module.el @@ -91,7 +91,7 @@ (chess-module-detach-game nil)) (setq chess-module-game game) (chess-game-add-hook game 'chess-module-event-handler - (or module (current-buffer))))) + (or module (current-buffer))))) (defsubst chess-module-leader-p (module) (chess-with-current-buffer module -- cgit v1.2.3