]> code.delx.au - gnu-emacs-elpa/commitdiff
Add test for #17.
authorRyan C. Thompson <rct@thompsonclan.org>
Thu, 17 Oct 2013 09:50:07 +0000 (02:50 -0700)
committerRyan C. Thompson <rct@thompsonclan.org>
Thu, 17 Oct 2013 09:50:07 +0000 (02:50 -0700)
async-test.el

index 379cdf9664f6c48e61305785609f0638b1ef7b00..2e235f109aa98d1c6b2261252a2e12b8224fcfad 100644 (file)
    (lambda (result)
      (message "Async process done: %s" result))))
 
+(defun async-test-7 ()
+  (interactive)
+  (message "Starting async-test-7...")
+  (eval
+   '(mapcar #'async-get
+            (cl-loop repeat 2 collect
+                     (async-start (lambda () t))))
+   t))
+
 (defsubst async-file-contents (file)
   "Return the contents of FILE, as a string."
   (with-temp-buffer