Fork me on GitHub
#leiningen
<
2018-10-08
>
csm22:10:13

I’ve noticed that if I split up unit test source into multiple files (so, in the main foo_test.clj I have a statement (load "foo-test-etc"), and the foo-test-etc.clj file starts with (in-ns 'foo-test)) keyword and map literal abbreviations don’t work. So e.g. with (:require [clojure.spec.alpha :as s]) in foo_test.clj, and ::s/invalid in foo-test-etc.clj, the ::s/invalid is marked as an invalid keyword. Same with forms like #:s{:foo :bar}. This seems to be specific behavior to leiningen