Browse files

Tests broke; I'm dumb.

  • Loading branch information...
1 parent 94c675a commit 373c5faf9edf18a4ebefe352a8033f03105d5e02 @technomancy committed Feb 12, 2010
Showing with 4 additions and 4 deletions.
  1. +3 −2 sample/src/nom/nom/nom.clj
  2. +1 −2 test/test_deps.clj
View
5 sample/src/nom/nom/nom.clj
@@ -1,8 +1,9 @@
(ns nom.nom.nom
(:gen-class))
-(when-not (= "1.0.0-" (clojure-version))
- (throw (Exception. (str "Not running Clojure 1.0.0: " (clojure-version)))))
+(when-not (= "1.1.0-master-SNAPSHOT" (clojure-version))
+ (throw (Exception. (str "Not running Clojure 1.1.0 Snapshot: "
+ (clojure-version)))))
(defn -main [& args]
(when-not (empty? args)
View
3 test/test_deps.clj
@@ -12,5 +12,4 @@
(deps test-project)
(let [jars (set (map #(.getName %)
(.listFiles (file (:root test-project) "lib"))))]
- (is (= #{"jdom-1.0.jar" "tagsoup-1.2.jar" "rome-0.9.jar"
- "clojure-1.0.0.jar"} jars))))
+ (is (subset? #{"jdom-1.0.jar" "tagsoup-1.2.jar" "rome-0.9.jar"} jars))))

0 comments on commit 373c5fa

Please sign in to comment.