Fix a test that wasn't testing anything.
This commit is contained in:
parent
e228b91ff5
commit
a47bc71b79
1 changed files with 4 additions and 2 deletions
|
@ -2,11 +2,13 @@
|
|||
(:use [clojure.test]
|
||||
[clojure.java.io :only [file]]
|
||||
[leiningen.javac :only [javac]]
|
||||
[leiningen.core :only [read-project]]))
|
||||
[leiningen.core :only [read-project defproject]]
|
||||
[leiningen.util.file :only [delete-file-recursively]]))
|
||||
|
||||
(def test-project (read-project "test_projects/dev_deps_only/project.clj"))
|
||||
(def test-project (read-project "test_projects/dev-deps-only/project.clj"))
|
||||
|
||||
(deftest test-javac
|
||||
(delete-file-recursively "test_projects/dev-deps-only/classes" true)
|
||||
(javac test-project)
|
||||
(is (.exists (file "test_projects/dev-deps-only/classes"
|
||||
"dev_deps_only" "Junk.class"))))
|
||||
|
|
Loading…
Reference in a new issue