On Mar 19, 2013, at 8:47 AM, Murtaza Husain <murtaza.hus...@sevenolives.com> 
wrote:
> I am having trouble using midje repl-tools. I am using the facts intermingled 
> in my source code.

Can you give a transcript of the failure? I can't reproduce the problem. I have 
a project with this source:

> (ns scratch.core
>   (:use scratch.core2)
>   (:use midje.sweet))
> 
> (defn core [] 88)
> 
> (fact (+ (core) (core2)) => "this shows a failure")

Here's what happens:

> 638 $ lein repl
> user=> (use 'scratch.core)
> Run `(doc midje)` for Midje usage.
> 
> FAIL at (core.clj:5)
>     Expected: "this shows a failure"
>       Actual: 121
> nil
> user=> (use 'midje.repl)
> Run `(doc midje-repl)` for descriptions of Midje repl functions.
> nil
> user=> (autotest)
> 
> ======================================================================
> Loading (scratch.core2 scratch.core)
> "core 2"
> 
> FAIL at (core.clj:5)
>     Expected: "this shows a failure"
>       Actual: 121
> FAILURE: 1 check failed. 
> true
> user=> 


--------
Looking for employment as a Clojure programmer
Latest book: /Functional Programming for the Object-Oriented Programmer/
https://leanpub.com/fp-oo

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to