   (let [dir (TempDir/create "java")
         setup (when (not (empty? setup)) (write-code! "java" dir setup))
         solution (write-code! "java" dir solution)
-        files (file-names [setup solution])]
+        files (file-names setup solution)]
     (apply compile! files)
     (-> solution
         :class-name

(ns codewars.runner
  (:require [codewars.runner :refer [run]]
            [clojure.java.io :as io]
            [codewars.util :refer [write-code!]])
  (:import [codewars.java TempDir]

           [codewars.java CwRunListener]
           [java.io IOException]))

(defn- compile!
  "Compile files using the java compiler"
  [& files]
  (let [compilation-result
        (-> (ToolProvider/getSystemJavaCompiler)
            ;; TODO: write compilation errors somewhere?
