yesodweb / yesod

A RESTful Haskell web framework built on WAI.
http://www.yesodweb.com/
MIT License
2.64k stars 374 forks source link

Update haddock on assertEq to specify the expected and actual value ordering #1834

Closed jkeuhlen closed 7 months ago

jkeuhlen commented 7 months ago

Before submitting your PR, check that you've:

After submitting your PR:

jkeuhlen commented 7 months ago

I'm unsure if this warrants a changelog update or not, but the impetus here is probably ~half of the tests in our codebase have this ordering backwards since most people just look at the yesod docs instead of the HUnit docs, so this makes them line up better!

jezen commented 7 months ago

Better documentation is always welcome. Thank you 👍