projects
/
cl-mock.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add PROGF to export, tests.
[cl-mock.git]
/
tests
/
functions.lisp
diff --git
a/tests/functions.lisp
b/tests/functions.lisp
index
4b0a000
..
c3219b2
100644
(file)
--- a/
tests/functions.lisp
+++ b/
tests/functions.lisp
@@
-4,6
+4,10
@@
(in-suite cl-mock)
+(def-test progf.calls-binding ()
+ (progf '(foo) (list (lambda () 23))
+ (is (eql 23 (foo)))))
+
(def-test dflet.calls-binding ()
(dflet ((foo () 23))
(is (eql 23 (foo)))))