tracks/clojure/_src/generator.clj in trackler-2.2.1.30 vs tracks/clojure/_src/generator.clj in trackler-2.2.1.31
- old
+ new
@@ -60,10 +60,10 @@
(stencil/render-string template munged-test-data))))
(defn -main
"Uses the test template for the exercise and test data to generate test cases."
[exercise-name & args]
- (let [test-template-path (format "exercises/%s/%s.mustache" exercise-name exercise-name)
+ (let [test-template-path (format "exercises/%s/.meta/%s.mustache" exercise-name exercise-name)
test-data (load-test-data exercise-name)]
(if (file-exists? test-template-path)
(do
(generate-test-data exercise-name test-template-path test-data)
(println (format "Generated tests for %s exercise using template %s" exercise-name test-template-path)))