Do you mean you type `lein repl` and you don’t get a prompt at all? It just 
hangs before then?

I tried to reproduce based on the information below and it seems to work for me:

(! 1115)-> lein new app job-queue
Generating a project called job-queue based on the 'app' template.

Wed Apr 11 16:40:54
(sean)-(jobs:0)-(~/clojure)
(! 1116)-> cd job-queue/

Wed Apr 11 16:40:57
(sean)-(jobs:0)-(~/clojure/job-queue)
(! 1117)-> cat > project.clj
(defproject job-queue "0.1.0-SNAPSHOT"
  :description "FIXME: write description"
  :url "http://example.com/FIXME";
  :main job-queue.core
  :license {:name "Eclipse Public License"
            :url "http://www.eclipse.org/legal/epl-v10.html"}
  :dependencies [[org.clojure/clojure "1.8.0"]
                 [org.clojure/data.json "0.2.6"]
                 [midje "1.9.0"]]
  :plugins [[lein-midje "3.2.1"]])
^D
Wed Apr 11 16:41:07
(sean)-(jobs:0)-(~/clojure/job-queue)
(! 1118)-> lein repl
nREPL server started on port 59357 on host 127.0.0.1 - nrepl://127.0.0.1:59357
…
job-queue.core=> Bye for now!

Wed Apr 11 16:41:16
(sean)-(jobs:0)-(~/clojure/job-queue)
(! 1119)-> cat > test/job_queue/core_test.clj
(ns job-queue.core-test
(:require [job-queue.core :refer :all]
  [midje.sweet :refer :all]))

(fact
  [1 3 5 8] => (contains even?))
^D
Wed Apr 11 16:41:43
(sean)-(jobs:0)-(~/clojure/job-queue)
(! 1120)-> lein midje
nil
All checks (1) succeeded.

Wed Apr 11 16:41:57
(sean)-(jobs:0)-(~/clojure/job-queue)
(! 1121)->

Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

________________________________
From: clojure@googlegroups.com <clojure@googlegroups.com> on behalf of Renata 
Soares <renata.sd...@gmail.com>
Sent: Wednesday, April 11, 2018 4:31:15 PM
To: Clojure
Subject: Re: lein midje not working

It happens with 'lein repl' too (gives timeout in this case).

Em quarta-feira, 11 de abril de 2018 20:27:04 UTC-3, Renata Soares escreveu:
Hello,

I am running 'lein midje' on my project and looks like an infinite loop. 
Doesn't show any message of error.

Project.clj:

(defproject job-queue "0.1.0-SNAPSHOT"
  :description "FIXME: write description"
  :url "http://example.com/FIXME";
  :main job-queue.core
  :license {:name "Eclipse Public License"
            :url "http://www.eclipse.org/legal/epl-v10.html"}
  :dependencies [[org.clojure/clojure "1.8.0"]
                 [org.clojure/data.json "0.2.6"]
                 [midje "1.9.0"]]
  :plugins [[lein-midje "3.2.1"]])

I created this test just to check the midje:

(ns job-queue.core-test
(:require [job-queue.core :refer :all]
  [midje.sweet :refer :all]))

(fact
  [1 3 5 8] => (contains even?))

What can it be?

Thanks.


--
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<mailto:clojure+unsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.

-- 
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