emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 88f8a9d: generator-tests.el: make cps-test-iter-cle


From: Glenn Morris
Subject: [Emacs-diffs] master 88f8a9d: generator-tests.el: make cps-test-iter-cleanup-once-only work
Date: Tue, 03 Mar 2015 18:27:25 +0000

branch: master
commit 88f8a9d7d827b3780ae25e99b67e01d897fd5959
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>

    generator-tests.el: make cps-test-iter-cleanup-once-only work
    
    * test/automated/generator-tests.el (cps-test-iter-cleanup-once-only):
    Replace undefined incf with cl-incf.
---
 test/ChangeLog                    |    4 ++--
 test/automated/generator-tests.el |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/test/ChangeLog b/test/ChangeLog
index 6ff35af..ea2e0ee 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -9,8 +9,8 @@
 
 2015-03-03  Glenn Morris  <address@hidden>
 
-       * automated/generator-tests.el (cps-while-incf):
-       Replace undefined incf with cl-incf.
+       * automated/generator-tests.el (cps-while-incf)
+       (cps-test-iter-cleanup-once-only): Replace undefined incf with cl-incf.
        (cps-test-iter-do): Use should not undefined assert.
 
 2015-03-03  Daniel Colascione  <address@hidden>
diff --git a/test/automated/generator-tests.el 
b/test/automated/generator-tests.el
index a8607f9..893c0d2 100644
--- a/test/automated/generator-tests.el
+++ b/test/automated/generator-tests.el
@@ -283,7 +283,7 @@ identical output.
                             (iter-yield 1)
                             (error "test")
                             (iter-yield 2))
-                       (incf nr-unwound))))))
+                       (cl-incf nr-unwound))))))
     (should (equal (iter-next iter) 1))
     (should-error (iter-next iter))
     (should (equal nr-unwound 1))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]