Skip to content

Commit

Permalink
Update tests for clojure/contrib jar versions
Browse files Browse the repository at this point in the history
  • Loading branch information
trptcolin committed Feb 2, 2012
1 parent 42a9042 commit 9f9d4d4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/dejour-tests.clj
Expand Up @@ -11,7 +11,7 @@
name)) name))


(defn run [cmd] (defn run [cmd]
(apply sh (apply sh
(cons (cons
(executable (first cmd)) (executable (first cmd))
(rest cmd)))) (rest cmd))))
Expand All @@ -30,8 +30,8 @@


; core jar files and main classes ; core jar files and main classes


(output-matches? ["clj" "-debug"] #"lib.clojure\.jar" "Contains clojure.jar") (output-matches? ["clj" "-debug"] #"lib.clojure-[\d.]+\.jar" "Contains clojure.jar")
(output-matches? ["clj" "-debug"] #"lib.clojure-contrib\.jar" "Contains contrib") (output-matches? ["clj" "-debug"] #"lib.clojure-contrib-[\d.]+\.jar" "Contains contrib")
(output-matches? ["clj" "-debug"] #"lib.jline\.jar" "Contains jline.jar") (output-matches? ["clj" "-debug"] #"lib.jline\.jar" "Contains jline.jar")
(output-matches? ["clj" "-debug"] #"jline\.ConsoleRunner" "Contains console runner") (output-matches? ["clj" "-debug"] #"jline\.ConsoleRunner" "Contains console runner")
(output-matches? ["clj" "-debug"] #"clojure\.main$" "contains clojure main") (output-matches? ["clj" "-debug"] #"clojure\.main$" "contains clojure main")
Expand Down

0 comments on commit 9f9d4d4

Please sign in to comment.