Permalink
Browse files

Add dynamic bindings to info reported by 'expect'

  • Loading branch information...
1 parent 4264975 commit effd1482f10ed7c8644abdb6a078aaf8550f65e3 @stuartsierra committed Dec 4, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 modules/lazytest/src/main/clojure/lazytest/expect.clj
@@ -40,6 +40,7 @@
'~(meta expr)
{:form '~expr
:locals ~(local-bindings &env)
+ :bindings (get-thread-bindings)
:evaluated (list* f# args#)
:result result#
:file ~*file*
@@ -53,6 +54,7 @@
'~(meta expr)
{:form '~expr
:locals ~(local-bindings &env)
+ :bindings (get-thread-bindings)
:result result#
:file ~*file*
:ns '~(ns-name *ns*)}

0 comments on commit effd148

Please sign in to comment.