In an test assertion, do you prefer the expected value first or the actual value first? (
I have been back and forth on this over the years. Sometimes I feel one is more legible than the other. Then I change my mind.
Why do I care? Curiosity! (Probably also some form of API perfectionism 😳 )
Team assertEquals(actualValue, expectedValue)
Team assertEquals(expectedValue, actualValue)
I never cared about this
Poll ended at .