Skip to content

Commit

Permalink
Merge pull request #16 from nordstrand/master
Browse files Browse the repository at this point in the history
Typo fix in junit runner
  • Loading branch information
jaycfields committed Mar 18, 2013
2 parents 261e406 + f1586fd commit 891562f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/clojure/expectations/junit/runner.clj
Expand Up @@ -48,7 +48,7 @@
_ (doseq [{:keys [absolutePath]} files] (load-file absolutePath))
file-names (set (map :absolutePath files))
suite-description (Description/createSuiteDescription (-> source class .getName) empty-ann-arr)
filtered-vars (->> (all-ns) (expectations/->expectations) (filter (partial in-loaded-file? file-names)))
filtered-vars (->> (all-ns) (expectations/->expectation) (filter (partial in-loaded-file? file-names)))
descs (reduce create-desc {} filtered-vars)]
(doseq [desc (vals descs)] (.addChild suite-description desc))
(proxy [Runner] []
Expand All @@ -64,4 +64,4 @@
(.fireTestStarted notifier suite-description)
(when (or (< 0 (:error results)) (< 0 (:fail results)))
(.fireTestFailure notifier (expectations.junit.ExpectationsFailure. suite-description "")))
(.fireTestFinished notifier suite-description))))))
(.fireTestFinished notifier suite-description))))))

0 comments on commit 891562f

Please sign in to comment.