* test/automated/generator-tests.el (cps-while-incf):
Replace undefined incf with cl-incf.
(cps-test-iter-do): Use should not undefined assert.
+2015-03-03 Glenn Morris <rgm@gnu.org>
+
+ * automated/generator-tests.el (cps-while-incf):
+ Replace undefined incf with cl-incf.
+ (cps-test-iter-do): Use should not undefined assert.
+
2015-03-03 Daniel Colascione <dancol@dancol.org>
* automated/finalizer-tests.el (finalizer-object-type): Test that
(cps-testcase cps-while-incf
(let* ((i 0) (j 10))
(while (< i 10)
- (incf i)
+ (cl-incf i)
(setf j (+ j (* i 10))))
j))
(let (mylist)
(iter-do (x (mygenerator 4))
(push x mylist))
-
- (assert (equal mylist '(2 4 1)))))
+ (should (equal mylist '(2 4 1)))))
(iter-defun gen-using-yield-value ()
(let (f)