From 466902da96c5d8fd3ce15a90e0e251acf2dea8d7 Mon Sep 17 00:00:00 2001 From: Marshall Bockrath-Vandegrift Date: Fri, 24 Jan 2014 13:35:15 -0500 Subject: [PATCH] Handle bultitude returning full `ns` form instead of just symbol. --- src/leiningen/test.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/leiningen/test.clj b/src/leiningen/test.clj index 4a604ffe..f48f48ad 100644 --- a/src/leiningen/test.clj +++ b/src/leiningen/test.clj @@ -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]