projects
/
cl-mock.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Formatting.
[cl-mock.git]
/
tests
/
functions.lisp
diff --git
a/tests/functions.lisp
b/tests/functions.lisp
index
4b0a000
..
21761f2
100644
(file)
--- a/
tests/functions.lisp
+++ b/
tests/functions.lisp
@@
-1,9
+1,13
@@
-;;; -*- mode: lisp; syntax: common-lisp; coding: utf-8-unix; package: cl-mock-tests; -*-
+;; -*- mode: lisp; syntax: common-lisp; coding: utf-8-unix; package: cl-mock-tests; -*-
(in-package #:cl-mock-tests)
(in-package #:cl-mock-tests)
-
+
\f
(in-suite cl-mock)
(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)))))
(def-test dflet.calls-binding ()
(dflet ((foo () 23))
(is (eql 23 (foo)))))