Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add test for missing :multi-deps

  • Loading branch information...
commit 2de30cfc77affbf228535b06dc2c60fbc4d878c2 1 parent e9892fc
@maravillas authored
Showing with 9 additions and 1 deletion.
  1. +9 −1 test/leiningen/test/multi.clj
View
10 test/leiningen/test/multi.clj
@@ -52,7 +52,15 @@
;; will result in a return value of 1, as in test-failing-multi-tests
(is (= result 0))))
+(deftest test-multi-no-sets
+ (println "*** Begin embedded tests - ignore results below ***")
+ (let [test-project (merge test-project {:multi-deps nil})
+ result (multi test-project "test")]
+ (println "*** End embedded tests - ignore results above ***")
+ (is (= result 0))))
+
(deftest test-multi-new-ignored
(multi test-project "new" "multi-test-new-project")
(is (.exists (file "multi-test-new-project")))
- (delete-file-recursively (file "multi-test-new-project") true))
+ (delete-file-recursively (file "multi-test-new-project") true))
+
Please sign in to comment.
Something went wrong with that request. Please try again.