X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Ffunctions.lisp;fp=tests%2Ffunctions.lisp;h=c3219b24a27a967701dcaef2dec140e1e5f0da77;hb=e9132a193bc1e4d3cc10b9a2d57d0844a8a9a06f;hp=4b0a000f948e9d17aeab525f23e119b2de0baa0b;hpb=76073a5348f43eda6e5d4256377c7bb85eacfdfa;p=cl-mock.git diff --git a/tests/functions.lisp b/tests/functions.lisp index 4b0a000..c3219b2 100644 --- 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)))))