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.
Included in release version 0.2.9