Fix a test that wasn't testing anything.

This commit is contained in:
Matjaz Gregoric 2010-12-04 12:42:44 +01:00 committed by Phil Hagelberg
parent e228b91ff5
commit a47bc71b79

View file

@ -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"))))