clojure.core.ns allows much more syntactic variation than its docstring describes.
One example is (ns foo (require bar)) where require should be the keyword :require.
As of 0.2.9, tools.namespace silently ignores these forms.
Code change and test look perfect to me.
Comment made by: petrglad
Line 48 in 0001-TNS-32-handle-non-keyword-clause-heads-in-ns-form.patch:
"(def t-clauses-without-keywords" -> "(deftest t-clauses-without-keywords" ?
Good catch, Petr. I missed that.
On Git master as of https://github.com/clojure/tools.namespace/commit/bb472283a71156bf4bda1265389b866e7326bf0d
Will be in 0.2.9 release
Included in release version 0.2.9