Skip to content

Commit

Permalink
Handle bultitude returning full ns form instead of just symbol.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marshall Bockrath-Vandegrift committed Jan 24, 2014
1 parent b366c85 commit 466902d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/leiningen/test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@

(defn- convert-to-ns [possible-file]
(if (and (.endsWith possible-file ".clj") (.exists (io/file possible-file)))
(str (b/ns-form-for-file possible-file))
(str (second (b/ns-form-for-file possible-file)))
possible-file))

(defn- read-args [args project]
Expand Down

0 comments on commit 466902d

Please sign in to comment.