clj-commons / rewrite-clj

Rewrite Clojure code and edn
https://cljdoc.org/d/rewrite-clj
MIT License
592 stars 55 forks source link

test chore: are -> doseq #287

Closed lread closed 5 months ago

lread commented 5 months ago

I've learned to dislike clojure.test/are. To me, it is an unnecessary DSL/ceremony that can prevent succinctly reporting failures.

My original plan was to migrate are to doseq as I touched tests. But if I migrate are to doseq along with other changes, those other changes will be much harder to see.

So, I've decided to sweep through all tests and convert are to doseq as a sole change. I think future-me will thank me.

Future-me might also not appreciate the diff history clouded by this change, but future-me is usually pretty understanding.