The defn for cognitect.test-runner.api/test is malformed and throws a spec exception. Looks like there are stray characters outside the closing " of the docstring.
CompilerException clojure.lang.ExceptionInfo: Call to clojure.core/defn did not conform to spec:
In: [2 0] val: quote fails spec: :clojure.core.specs.alpha/arg-list at: [:args :bs :arity-n :bodies :args] predicate: vector?
In: [2] val: (quote .) fails spec: :clojure.core.specs.alpha/arg-list at: [:args :bs :arity-1 :args] predicate: vector?
#:clojure.spec.alpha{:problems ({:path [:args :bs :arity-1 :args], :pred clojure.core/vector?, :val (quote .), :via [:clojure.core.specs.alpha/defn-args :clojure.core.specs.alpha/args+body :clojure.core.specs.alpha/arg-list :clojure.core.specs.alpha/arg-list], :in [2]} {:path [:args :bs :arity-n :bodies :args], :pred clojure.core/vector?, :val quote, :via [:clojure.core.specs.alpha/defn-args :clojure.core.specs.alpha/args+body :clojure.core.specs.alpha/args+body :clojure.core.specs.alpha/args+body :clojure.core.specs.alpha/arg-list :clojure.core.specs.alpha/arg-list], :in [2 0]}), :spec #object[clojure.spec.alpha$regex_spec_impl$reify__2436 0x3997ffc7 "clojure.spec.alpha$regex_spec_impl$reify__2436@3997ffc7"], :value (test "Invoke the test-runner with the following options:\n\n * :dirs - coll of directories containing tests, default= [\"test\"]\n * :nses - coll of namespace symbols to test\n * :patterns - coll of regex strings to match namespaces\n * :vars - coll of fully qualified symbols to run tests on\n * :includes - coll of test metadata keywords to include\n * :excludes - coll of test metadata keywords to exclude\n\n If neither :nses nor :patterns is supplied, use `:patterns [\".*-test$\"]" (quote .) [opts] (try (let [{:keys [fail error]} (do-test opts)] (System/exit (if (zero? (+ fail error)) 0 1))) (finally (shutdown-agents)))), :args (test "Invoke the test-runner with the following options:\n\n * :dirs - coll of directories containing tests, default= [\"test\"]\n * :nses - coll of namespace symbols to test\n * :patterns - coll of regex strings to match namespaces\n * :vars - coll of fully qualified symbols to run tests on\n * :includes - coll of test metadata keywords to include\n * :excludes - coll of test metadata keywords to exclude\n\n If neither :nses nor :patterns is supplied, use `:patterns [\".*-test$\"]" (quote .) [opts] (try (let [{:keys [fail error]} (do-test opts)] (System/exit (if (zero? (+ fail error)) 0 1))) (finally (shutdown-agents))))}, compiling:(/Users/dpassen/apps/test-runner/src/cognitect/test_runner/api.clj:16:1)
The defn for
cognitect.test-runner.api/test
is malformed and throws a spec exception. Looks like there are stray characters outside the closing"
of the docstring.