summaryrefslogtreecommitdiff
path: root/chess-test.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-09-01 01:17:22 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-09-01 01:17:22 -0400
commit2d588570a4a77246c33d025f8851c6c3ce2202b8 (patch)
tree1bed027303ea700e135b5d7b6938c560bb3fa9f5 /chess-test.el
parent059d4da57bdb94b4b394f6e1b73b1bfc0c861d2d (diff)
If the COUNT is less than zero, run all the remaining tests.
Diffstat (limited to 'chess-test.el')
-rw-r--r--chess-test.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/chess-test.el b/chess-test.el
index 228fcfa..2446982 100644
--- a/chess-test.el
+++ b/chess-test.el
@@ -28,7 +28,7 @@
(index (if start
(max start 1)
1))
- (last-index (if count
+ (last-index (if (and count (> count 0))
(min db-count (+ index count))
db-count))
(begin (current-time))