clj-commons / potemkin

some ideas which are almost good
572 stars 53 forks source link

Fixes Testing against different Clojure Versions #10

Closed xsc closed 11 years ago

xsc commented 11 years ago

The current form of the alias "all" has the profile :dev overwrite the Clojure version of the profiles :1.2, :1.3, and so on. This means that the only version really tested is :dev's, being "1.5.1".

This can be demonstrated by adding the line

(println "--- uses clojure:" *clojure-version*)

to e.g. "src/potemkin.clj" and running "lein all do clean, test".

This pull request fixes the issue, making the test results more meaningful.

ztellman commented 11 years ago

Thanks, not sure how I missed this.