Closed becca-bailey closed 8 years ago
It appears to be based on the order specified: (should= :expected :actual)
. The docstring confirms this. I imagine it would be quite difficult to determine which value is the result of some program code.
Oh, okay. I guess my arguments are just in the wrong order! Nevermind! 😑
It's always been my understanding that in the spec results,
Expected:
refers to the expected result of the test case, andgot:
refers to the actual return value when running the program. Whenever I run my tests, these values seem to be reversed. Is there a reason for this?