Giter VIP home page Giter VIP logo

Comments (5)

johanhaleby avatar johanhaleby commented on July 23, 2024

I've also tried it with version Leiningen 2.5.3, same result

from test-refresh.

jakemcc avatar jakemcc commented on July 23, 2024

The error makes me think there is something off with the dependencies
vector in the project.clj. what does your project.clj look like?

On Mon, Mar 7, 2016, 00:45 Johan Haleby [email protected] wrote:

I've also tried it with version Leiningen 2.5.3


Reply to this email directly or view it on GitHub
#51 (comment)
.

from test-refresh.

johanhaleby avatar johanhaleby commented on July 23, 2024

Thanks for your response. My project.clj looks like this:

(defproject fake-http "0.1.0-SNAPSHOT"
  :description "FIXME: write description"
  :url "http://example.com/FIXME"
  :license {:name "Eclipse Public License"
            :url  "http://www.eclipse.org/legal/epl-v10.html"}
  :min-lein-version "2.0.0"
  :dependencies [[com.squareup.okhttp3/mockwebserver "3.2.0"]]
  :profiles {:dev {:dependencies [[org.clojure/clojure "1.8.0"]
                                  [speclj "3.3.0"]
                                  [cheshire "5.5.0"]
                                  [clj-http-lite "0.3.0"]]}}
  :plugins [[codox "0.6.3"]
            [speclj "3.3.0"]])

from test-refresh.

jakemcc avatar jakemcc commented on July 23, 2024

Used your project.clj to look into the problem. The issue is codox "0.6.3" is depending on an old version of leinjacker that has incorrect assertions in it.

If you change [codox "0.6.3"] to [lein-codox "0.9.4"] then it starts using leinjacker 0.4.2 which has correct assertions for project.clj shape.

I haven't really explored it before but I'm unsure how test-refresh is going to interact with speclj. Speclj is a fairly different testing library than clojure.test.

from test-refresh.

johanhaleby avatar johanhaleby commented on July 23, 2024

Thanks a lot for your help, I can confirm that it works. I'm migrating away from speclj so it was just a mistake that it was still laying around in project.clj.

from test-refresh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.