Allow any order of results for the test of Find All Occurrences in array. #67

Merged
merged 1 commit into from May 17, 2013

Conversation

Projects
None yet
2 participants
Contributor

bonpixel commented May 17, 2013

I ran into a problem with this test as I was using a decremental for loop to iterate through the array and pick out results. A simple fix is to add a sort() to the assertion as this allows for the results to be returned in any order.

Dont expect order for test on Finding All Occurrences in array
I ran into a problem with this test as I was using a decremental for loop to iterate through the array and pick out results. Adding sort() to the assertion allows for the results to be returned in any order.

rmurphey added a commit that referenced this pull request May 17, 2013

Merge pull request #67 from bonpixel/master
Allow any order of results for the test of Find All Occurrences in array.

@rmurphey rmurphey merged commit e043544 into rmurphey:master May 17, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment