when i write (expect true (if (valid? "ashutosh" "a...@gmail.com" 9999999999 
"message1") true false)) for testing the function(valid?) i found


lein test clojuregeek.test.contact

Ran 0 tests containing 0 assertions.
0 failures, 0 errors.

failure in (contact.clj:32) : clojuregeek.test.contact
(expect
 true
 (valid? "ashutosh" "a...@gmail.com" "9999999999" "tesxt message"))

  act-msg: exception in actual: (valid? "ashutosh" "a...@gmail.com" 
"9999999999" "tesxt message")
    threw: class java.lang.ClassCastException - clojure.lang.Var$Unbound 
cannot be cast to java.util.concurrent.Future
           noir.validation$get_errors$doInvoke (validation.clj:94)
           noir.validation$errors_QMARK_$doInvoke (validation.clj:140)
           on (contact.clj:34)
           on (contact.clj:32)

Ran 1 tests containing 1 assertions in 76 msecs
0 failures, 1 errors.

-- 
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/d/optout.

Reply via email to