Comment 2 for bug 619393

Revision history for this message
Roman Marynchak (roman-marynchak) wrote :

The simple test case. I am not sure about the exact test file, so please copy it to the appropriate one when merging the fix into CVS. Note that 'success' tests are not required, because DOTIMES is used in many system files and other tests as well.

;;; DOTIMES should accept the integer count-form value only. Bug #619393 in Launchpad.

(with-test (:name :dotimes-non-integer-counter-value)
  (assert (raises-error? (dotimes (i 8.6) nil))))