summaryrefslogtreecommitdiff
path: root/chess-module.el
diff options
context:
space:
mode:
authordickmao <rchiang@cs.stonybrook.edu>2018-08-28 21:48:31 -0400
committerdickmao <dick.r.chiang@gmail.com>2018-08-30 00:14:42 -0400
commit800dd7677276f9e425c5db37b3e31e56ab1dad32 (patch)
tree09eb145ffcbaf89d873c89e8346ee8d38a88ebbe /chess-module.el
parent5bd1e7248bb9bf3b335cbd6bec250866bd165af1 (diff)
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.
Diffstat (limited to 'chess-module.el')
-rw-r--r--chess-module.el2
1 files changed, 1 insertions, 1 deletions
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