Permalink
Browse files

Fix tests.

  • Loading branch information...
1 parent 657ea13 commit d63d9bdd1802f9d1a46d782e1f62113ecdaf4a80 @technomancy committed Mar 8, 2012
Showing with 11 additions and 10 deletions.
  1. +10 −9 test/leiningen/test/precate.clj
  2. +1 −1 test/p1.clj
@@ -9,17 +9,18 @@
(deftest test-p1
(let [p1-full (suggest-project-map p1)
p1 (tidy-project p1-full)]
- (is (= {:name "hi" :group "hi" :version "1.0.0"
- :dependencies {'ordered "1.1.0" 'org.clojure/clojure "1.3.0"}
+ (is (= {:name "hi" :group "hello" :version "1.0.0"
+ :dependencies [['ordered "1.1.0"]
+ ['org.clojure/clojure "1.3.0"]]
:min-lein-version "2.0.0"
- :profiles {:dev {:dependencies {'robert/hooke "1.1.3"}
+ :profiles {:dev {:dependencies [['robert/hooke "1.1.3"]]
:resource-paths ["junk"]}
- :1.2.1 {:dependencies {'org.clojure/clojure "1.2.1"}}
- :1.4.0 {:dependencies {'cheshire "2.2.0"
- 'org.clojure/clojure "1.4.0-beta1"
- 'slingshot "0.10.1"}}}
- :plugins {'lein-tar "1.0.6"
- 'lein-swank "1.4.1"}}
+ :1.2.1 {:dependencies [['org.clojure/clojure "1.2.1"]]}
+ :1.4.0 {:dependencies [['org.clojure/clojure "1.4.0-beta1"]
+ ['slingshot "0.10.1"]
+ ['cheshire "2.2.0"]]}}
+ :plugins [['lein-swank "1.4.1"]
+ ['lein-tar "1.0.6"]]}
(dissoc p1 :source-paths :resource-paths :root)))
(is (= ["src/clj"] (:source-paths p1)))
(is (= ["stuff" "whatever"] (:resource-paths p1)))))
View
@@ -1,4 +1,4 @@
-(defproject hi "1.0.0"
+(defproject hello/hi "1.0.0"
:dependencies [[ordered "1.1.0"]
[clojure "1.3.0"]]
:dev-dependencies [[swank-clojure "1.4.0"]

0 comments on commit d63d9bd

Please sign in to comment.