This is the question I asked myself repeatedly all day while I worked on one of the tickets we created yesterday as a result of the issues I brought up.
Or, thought were issues. I'm still not convinced of what happened.
When I initially ran the sort, the objects returned in a very clearly unsorted order. So I thought this was a problem.
Then I started looking into it and trying to trace it through and fix it. I moved some curly brackets around so I could read the code with more ease, and all of a sudden it worked.
Hrmm.
I ran all of the other unit tests to ensure that I hadn't busted anything, and they all passed. Sooooo... I'll take it.
No comments:
Post a Comment