[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 9b5bb5c 072/187: Add more comprehensive testing for anti-c
From: |
Michael Albinus |
Subject: |
[elpa] master 9b5bb5c 072/187: Add more comprehensive testing for anti-closure feature |
Date: |
Wed, 30 Dec 2015 11:49:46 +0000 |
branch: master
commit 9b5bb5cbd986addbe9b4e0499131f2d38808b256
Author: Ryan C. Thompson <address@hidden>
Commit: Ryan C. Thompson <address@hidden>
Add more comprehensive testing for anti-closure feature
Based on suggestions in
https://github.com/jwiegley/emacs-async/pull/18#issuecomment-26665920
---
async-test.el | 19 +++++++++++++++----
1 files changed, 15 insertions(+), 4 deletions(-)
diff --git a/async-test.el b/async-test.el
index 03db68e..a5e83e9 100644
--- a/async-test.el
+++ b/async-test.el
@@ -135,10 +135,21 @@
(interactive)
(message "Starting async-test-7...")
(eval
- '(mapcar #'async-get
- (cl-loop repeat 2 collect
- (async-start (lambda () t))))
- t))
+ '(progn
+ (print
+ (mapcar #'async-get
+ (cl-loop repeat 2 collect
+ (async-start (lambda () t)))))
+ (print
+ (mapcar #'async-get
+ (cl-loop repeat 2 collect
+ (async-start '(lambda () t)))))
+ (print
+ (mapcar #'async-get
+ (cl-loop repeat 2 collect
+ (async-start `(lambda () ,(* 150 2)))))))
+ t)
+ (message "Finished async-test-7 successfully."))
(defsubst async-file-contents (file)
"Return the contents of FILE, as a string."
- [elpa] master fb8f10b 065/187: * helm-async.el (dired-create-files): Handle `dired-recursive-copies' when async too., (continued)
- [elpa] master fb8f10b 065/187: * helm-async.el (dired-create-files): Handle `dired-recursive-copies' when async too., Michael Albinus, 2015/12/30
- [elpa] master bcffaeb 067/187: * helm-async.el (dired-create-file): Revert changes in fb8f10b., Michael Albinus, 2015/12/30
- [elpa] master 8e05e02 070/187: Prevent accidental creation of lexical closures., Michael Albinus, 2015/12/30
- [elpa] master 9c02acd 069/187: Add test for #17., Michael Albinus, 2015/12/30
- [elpa] master 5ef546a 071/187: Have test file add its own directory to load path, Michael Albinus, 2015/12/30
- [elpa] master 242ae73 068/187: * helm-async.el: Fix error handling., Michael Albinus, 2015/12/30
- [elpa] master 93b05a9 073/187: More robust evaluation and closure-protection of start-func, Michael Albinus, 2015/12/30
- [elpa] master ba705c6 076/187: Add test for handling different ways of passing a function, Michael Albinus, 2015/12/30
- [elpa] master b6d990d 075/187: Add lexbind test, Michael Albinus, 2015/12/30
- [elpa] master f6d7a74 074/187: Merge pull request #18 from DarwinAwardWinner/lexbind-fix, Michael Albinus, 2015/12/30
- [elpa] master 9b5bb5c 072/187: Add more comprehensive testing for anti-closure feature,
Michael Albinus <=
- [elpa] master 204750d 081/187: Revert "* helm-async.el: Fix error handling.", Michael Albinus, 2015/12/30
- [elpa] master b05c63a 083/187: Don't rely on async.el being in load-path., Michael Albinus, 2015/12/30
- [elpa] master 374f514 079/187: Complete the docstring for "async--get-function", Michael Albinus, 2015/12/30
- [elpa] master 9704eb8 080/187: Merge pull request #21 from DarwinAwardWinner/lexbind-fix, Michael Albinus, 2015/12/30
- [elpa] master 4a7b07b 084/187: Merge pull request #23 from DarwinAwardWinner/no-load-path-fix, Michael Albinus, 2015/12/30
- [elpa] master 2a532d3 077/187: Replace closure prevention with closure sanitation, Michael Albinus, 2015/12/30
- [elpa] master f18c735 078/187: Merge pull request #19 from DarwinAwardWinner/lexbind-fix, Michael Albinus, 2015/12/30
- [elpa] master 3f751fb 082/187: Revert master back to 242ae73, Michael Albinus, 2015/12/30
- [elpa] master eff5419 088/187: Rename helm-async.el to dired-async.el, Michael Albinus, 2015/12/30
- [elpa] master ec8decc 090/187: * dired-async.el (helm-async-be-async): alias for dired-async-be-async., Michael Albinus, 2015/12/30