Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #30522, comment 7


Ignore:
Timestamp:
11/27/2014 04:00:26 PM (10 years ago)
Author:
bobbingwide
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30522, comment 7

    initial v1  
    55e.g. for a query where you want to get posts 1,4,3,2 in that order, then the expected array should be ( 1,4,3,2 ) in that order.
    66
    7 Q. Can't assertEquals be used for that specific test?
     7Question: Can't assertEquals be used for that specific test?
    88
    99I received a response from @dancameron who said
     
    1111I wrote the tests in r30096 for #12668. I believe `assertEquals` respects order and `assertEqualSets` does not. It's possible my tests are wrong though, even though they succeeded pre & post. Let me know what you find and I can take a look; maybe a new ticket is in order (?).
    1212
    13 If the answer to my above Q. is No, then I believe that this is the ticket that I should have raised.
     13If the answer to my above Question is No, then I believe that this is the ticket that I should have raised.