Skip to content
Browse files

Update tests for clojure/contrib jar versions

  • Loading branch information...
1 parent 42a9042 commit 9f9d4d485a092c0e95da573067d371d1691d1b08 @trptcolin trptcolin committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 test/dejour-tests.clj
6 test/dejour-tests.clj
@@ -11,7 +11,7 @@
(defn run [cmd]
- (apply sh
+ (apply sh
(executable (first cmd))
(rest cmd))))
@@ -30,8 +30,8 @@
; core jar files and main classes
-(output-matches? ["clj" "-debug"] #"lib.clojure\.jar" "Contains clojure.jar")
-(output-matches? ["clj" "-debug"] #"lib.clojure-contrib\.jar" "Contains contrib")
+(output-matches? ["clj" "-debug"] #"lib.clojure-[\d.]+\.jar" "Contains clojure.jar")
+(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"] #"jline\.ConsoleRunner" "Contains console runner")
(output-matches? ["clj" "-debug"] #"clojure\.main$" "contains clojure main")

0 comments on commit 9f9d4d4

Please sign in to comment.
Something went wrong with that request. Please try again.