Open MatzFan opened 1 month ago
@zenspider
's opinion (2017):
I only use
assert
if it is supposed to be some truthy value. If it needs to betrue
specifically, I'll document that withassert_equal
instead.
https://github.com/minitest/minitest/issues/724#issuecomment-350516051
Style guide should not be offended by
assert_equal(true, actual)
Rationale.