[wp-trac] [WordPress Unit Tests] #130: Introduce assertion for comparing sets

WordPress Trac wp-trac at lists.automattic.com
Fri Oct 12 22:11:48 UTC 2012


#130: Introduce assertion for comparing sets
----------------------------+------------------
 Reporter:  scribu          |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:
Component:  Test Framework  |  Resolution:
 Keywords:  has-patch       |
----------------------------+------------------

Comment (by scribu):

 Actually, a single array_diff() call is only half the test. You need 2 to
 make sure two sets are actually equal.

-- 
Ticket URL: <http://unit-tests.trac.wordpress.org/ticket/130#comment:4>
WordPress Unit Tests <http://unit-tests.trac.wordpress.org>
My example project


More information about the wp-trac mailing list